Class CustomAttributeWithValueHelper
Inheritance
CustomAttributeWithValueHelper
Assembly: CAMAPI.DotnetHelper.dll
Syntax
public static class CustomAttributeWithValueHelper
Methods
Description(ComWrapper<ICamApiCustomAttributeWithValue>)
Detailed description of attribute visible for user.
Declaration
public static string Description(this ComWrapper<ICamApiCustomAttributeWithValue> attr)
Parameters
Returns
InstanceID(ComWrapper<ICamApiCustomAttributeWithValue>)
Unique identifier of the attribute in the object's attributes collection.
Declaration
public static Guid InstanceID(this ComWrapper<ICamApiCustomAttributeWithValue> attr)
Parameters
Returns
IsUntyped(ComWrapper<ICamApiCustomAttributeWithValue>)
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<ICamApiCustomAttributeWithValue> attr)
Parameters
Returns
Name(ComWrapper<ICamApiCustomAttributeWithValue>)
Name of attribute visible for user.
Declaration
public static string Name(this ComWrapper<ICamApiCustomAttributeWithValue> attr)
Parameters
Returns
ParentInstanceID(ComWrapper<ICamApiCustomAttributeWithValue>)
Unique identifier of the attribute's parent in the object's attributes collection.
Declaration
public static Guid ParentInstanceID(this ComWrapper<ICamApiCustomAttributeWithValue> attr)
Parameters
Returns
ReadOnly(ComWrapper<ICamApiCustomAttributeWithValue>)
Define the possibility to change value of the attribute by user.
Declaration
public static bool ReadOnly(this ComWrapper<ICamApiCustomAttributeWithValue> attr)
Parameters
Returns
SetDescription(ComWrapper<ICamApiCustomAttributeWithValue>, string)
Detailed description of attribute visible for user.
Declaration
public static void SetDescription(this ComWrapper<ICamApiCustomAttributeWithValue> attr, string value)
Parameters
SetName(ComWrapper<ICamApiCustomAttributeWithValue>, string)
Name of attribute visible for user.
Declaration
public static void SetName(this ComWrapper<ICamApiCustomAttributeWithValue> attr, string value)
Parameters
SetReadOnly(ComWrapper<ICamApiCustomAttributeWithValue>, bool)
Define the possibility to change value of the attribute by user.
Declaration
public static void SetReadOnly(this ComWrapper<ICamApiCustomAttributeWithValue> attr, bool value)
Parameters
SetTypeCategoryID(ComWrapper<ICamApiCustomAttributeWithValue>, Guid)
TypeID of parent category inside which the attribute should appear.
Declaration
public static void SetTypeCategoryID(this ComWrapper<ICamApiCustomAttributeWithValue> attr, Guid value)
Parameters
SetUnits(ComWrapper<ICamApiCustomAttributeWithValue>, string)
Measurement units of the attribute.
Declaration
public static void SetUnits(this ComWrapper<ICamApiCustomAttributeWithValue> attr, string value)
Parameters
SetVisible(ComWrapper<ICamApiCustomAttributeWithValue>, bool)
Visibility of the attribute for user.
Declaration
public static void SetVisible(this ComWrapper<ICamApiCustomAttributeWithValue> attr, bool value)
Parameters
TypeCategoryID(ComWrapper<ICamApiCustomAttributeWithValue>)
TypeID of parent category inside which the attribute should appear.
Declaration
public static Guid TypeCategoryID(this ComWrapper<ICamApiCustomAttributeWithValue> attr)
Parameters
Returns
TypeID(ComWrapper<ICamApiCustomAttributeWithValue>)
Unique identifier of the attribute in a library of attributes.
Declaration
public static Guid TypeID(this ComWrapper<ICamApiCustomAttributeWithValue> attr)
Parameters
Returns
Units(ComWrapper<ICamApiCustomAttributeWithValue>)
Measurement units of the attribute.
Declaration
public static string Units(this ComWrapper<ICamApiCustomAttributeWithValue> attr)
Parameters
Returns
ValueType(ComWrapper<ICamApiCustomAttributeWithValue>)
Type of value the attribute has.
Declaration
public static TCustomAttributeValueType ValueType(this ComWrapper<ICamApiCustomAttributeWithValue> attr)
Parameters
Returns
Visible(ComWrapper<ICamApiCustomAttributeWithValue>)
Visibility of the attribute for user.
Declaration
public static bool Visible(this ComWrapper<ICamApiCustomAttributeWithValue> attr)
Parameters
Returns