Class BooleanCustomAttributeHelper
Inheritance
BooleanCustomAttributeHelper
Assembly: CAMAPI.DotnetHelper.dll
Syntax
public static class BooleanCustomAttributeHelper
Methods
Description(ComWrapper<ICamApiBooleanCustomAttribute>)
Detailed description of attribute visible for user.
Declaration
public static string Description(this ComWrapper<ICamApiBooleanCustomAttribute> attr)
Parameters
Returns
InstanceID(ComWrapper<ICamApiBooleanCustomAttribute>)
Unique identifier of the attribute in the object's attributes collection.
Declaration
public static Guid InstanceID(this ComWrapper<ICamApiBooleanCustomAttribute> attr)
Parameters
Returns
IsUntyped(ComWrapper<ICamApiBooleanCustomAttribute>)
The value is True only if the attribute is explicitly created as untyped (without declaration in any library).
Declaration
public static bool IsUntyped(this ComWrapper<ICamApiBooleanCustomAttribute> attr)
Parameters
Returns
Name(ComWrapper<ICamApiBooleanCustomAttribute>)
Name of attribute visible for user.
Declaration
public static string Name(this ComWrapper<ICamApiBooleanCustomAttribute> attr)
Parameters
Returns
ParentInstanceID(ComWrapper<ICamApiBooleanCustomAttribute>)
Unique identifier of the attribute's parent in the object's attributes collection.
Declaration
public static Guid ParentInstanceID(this ComWrapper<ICamApiBooleanCustomAttribute> attr)
Parameters
Returns
ReadOnly(ComWrapper<ICamApiBooleanCustomAttribute>)
Define the possibility to change value of the attribute by user.
Declaration
public static bool ReadOnly(this ComWrapper<ICamApiBooleanCustomAttribute> attr)
Parameters
Returns
SetDescription(ComWrapper<ICamApiBooleanCustomAttribute>, string)
Detailed description of attribute visible for user.
Declaration
public static void SetDescription(this ComWrapper<ICamApiBooleanCustomAttribute> attr, string value)
Parameters
SetName(ComWrapper<ICamApiBooleanCustomAttribute>, string)
Name of attribute visible for user.
Declaration
public static void SetName(this ComWrapper<ICamApiBooleanCustomAttribute> attr, string value)
Parameters
SetReadOnly(ComWrapper<ICamApiBooleanCustomAttribute>, bool)
Define the possibility to change value of the attribute by user.
Declaration
public static void SetReadOnly(this ComWrapper<ICamApiBooleanCustomAttribute> attr, bool value)
Parameters
SetTypeCategoryID(ComWrapper<ICamApiBooleanCustomAttribute>, Guid)
TypeID of parent category inside which the attribute should appear.
Declaration
public static void SetTypeCategoryID(this ComWrapper<ICamApiBooleanCustomAttribute> attr, Guid value)
Parameters
SetUnits(ComWrapper<ICamApiBooleanCustomAttribute>, string)
Measurement units of the attribute.
Declaration
public static void SetUnits(this ComWrapper<ICamApiBooleanCustomAttribute> attr, string value)
Parameters
SetValue(ComWrapper<ICamApiBooleanCustomAttribute>, bool)
Declaration
public static void SetValue(this ComWrapper<ICamApiBooleanCustomAttribute> attr, bool value)
Parameters
SetVisible(ComWrapper<ICamApiBooleanCustomAttribute>, bool)
Visibility of the attribute for user.
Declaration
public static void SetVisible(this ComWrapper<ICamApiBooleanCustomAttribute> attr, bool value)
Parameters
TypeCategoryID(ComWrapper<ICamApiBooleanCustomAttribute>)
TypeID of parent category inside which the attribute should appear.
Declaration
public static Guid TypeCategoryID(this ComWrapper<ICamApiBooleanCustomAttribute> attr)
Parameters
Returns
TypeID(ComWrapper<ICamApiBooleanCustomAttribute>)
Unique identifier of the attribute in a library of attributes.
Declaration
public static Guid TypeID(this ComWrapper<ICamApiBooleanCustomAttribute> attr)
Parameters
Returns
Units(ComWrapper<ICamApiBooleanCustomAttribute>)
Measurement units of the attribute.
Declaration
public static string Units(this ComWrapper<ICamApiBooleanCustomAttribute> attr)
Parameters
Returns
Value(ComWrapper<ICamApiBooleanCustomAttribute>)
Declaration
public static bool Value(this ComWrapper<ICamApiBooleanCustomAttribute> attr)
Parameters
Returns
ValueType(ComWrapper<ICamApiBooleanCustomAttribute>)
Type of value the attribute has.
Declaration
public static TCustomAttributeValueType ValueType(this ComWrapper<ICamApiBooleanCustomAttribute> attr)
Parameters
Returns
Visible(ComWrapper<ICamApiBooleanCustomAttribute>)
Visibility of the attribute for user.
Declaration
public static bool Visible(this ComWrapper<ICamApiBooleanCustomAttribute> attr)
Parameters
Returns