Class CustomAttributesCollectionHelper
Inheritance
CustomAttributesCollectionHelper
Assembly: CAMAPI.DotnetHelper.dll
Syntax
public static class CustomAttributesCollectionHelper
Methods
AddAttribute(ComWrapper<ICamApiCustomAttributesCollection>, ICamApiCustomAttribute)
Add attribute to the collection.
Declaration
public static int AddAttribute(this ComWrapper<ICamApiCustomAttributesCollection> collection, ICamApiCustomAttribute attribute)
Parameters
Returns
Attribute(ComWrapper<ICamApiCustomAttributesCollection>, int)
Declaration
public static ComWrapper<ICamApiCustomAttribute> Attribute(this ComWrapper<ICamApiCustomAttributesCollection> collection, int index)
Parameters
Returns
Count(ComWrapper<ICamApiCustomAttributesCollection>)
Count of attributes inside collection.
Declaration
public static int Count(this ComWrapper<ICamApiCustomAttributesCollection> collection)
Parameters
Returns
IndexOfAttributeID(ComWrapper<ICamApiCustomAttributesCollection>, Guid)
Get attribute index by ID.
Declaration
public static int IndexOfAttributeID(this ComWrapper<ICamApiCustomAttributesCollection> collection, Guid attributeID)
Parameters
Returns
IndexOfAttributeTypeID(ComWrapper<ICamApiCustomAttributesCollection>, Guid)
Get attribute index by typeID.
Declaration
public static int IndexOfAttributeTypeID(this ComWrapper<ICamApiCustomAttributesCollection> collection, Guid typeID)
Parameters
Returns
RemoveAttribute(ComWrapper<ICamApiCustomAttributesCollection>, int)
Remove attribute from the collection.
Declaration
public static void RemoveAttribute(this ComWrapper<ICamApiCustomAttributesCollection> collection, int index)
Parameters