Class CustomAttributeHelper
Inheritance
CustomAttributeHelper
Assembly: CAMAPI.DotnetHelper.dll
Syntax
public static class CustomAttributeHelper
Methods
Description(ComWrapper<ICamApiCustomAttribute>)
Detailed description of attribute visible for user.
Declaration
public static string Description(this ComWrapper<ICamApiCustomAttribute> attr)
Parameters
Returns
InstanceID(ComWrapper<ICamApiCustomAttribute>)
Unique identifier of the attribute in the object's attributes collection.
Declaration
public static Guid InstanceID(this ComWrapper<ICamApiCustomAttribute> attr)
Parameters
Returns
IsUntyped(ComWrapper<ICamApiCustomAttribute>)
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<ICamApiCustomAttribute> attr)
Parameters
Returns
Name(ComWrapper<ICamApiCustomAttribute>)
Name of attribute visible for user.
Declaration
public static string Name(this ComWrapper<ICamApiCustomAttribute> attr)
Parameters
Returns
ParentInstanceID(ComWrapper<ICamApiCustomAttribute>)
Unique identifier of the attribute's parent in the object's attributes collection.
Declaration
public static Guid ParentInstanceID(this ComWrapper<ICamApiCustomAttribute> attr)
Parameters
Returns
SetDescription(ComWrapper<ICamApiCustomAttribute>, string)
Detailed description of attribute visible for user.
Declaration
public static void SetDescription(this ComWrapper<ICamApiCustomAttribute> attr, string value)
Parameters
SetName(ComWrapper<ICamApiCustomAttribute>, string)
Name of attribute visible for user.
Declaration
public static void SetName(this ComWrapper<ICamApiCustomAttribute> attr, string value)
Parameters
SetTypeCategoryID(ComWrapper<ICamApiCustomAttribute>, Guid)
TypeID of parent category inside which the attribute should appear.
Declaration
public static void SetTypeCategoryID(this ComWrapper<ICamApiCustomAttribute> attr, Guid value)
Parameters
TypeCategoryID(ComWrapper<ICamApiCustomAttribute>)
TypeID of parent category inside which the attribute should appear.
Declaration
public static Guid TypeCategoryID(this ComWrapper<ICamApiCustomAttribute> attr)
Parameters
Returns
TypeID(ComWrapper<ICamApiCustomAttribute>)
Unique identifier of the attribute in a library of attributes.
Declaration
public static Guid TypeID(this ComWrapper<ICamApiCustomAttribute> attr)
Parameters
Returns
ValueType(ComWrapper<ICamApiCustomAttribute>)
Type of value the attribute has.
Declaration
public static TCustomAttributeValueType ValueType(this ComWrapper<ICamApiCustomAttribute> attr)
Parameters
Returns