Class XmlPropArrayHelper
Inheritance
XmlPropArrayHelper
Assembly: CAMIPC.DotnetHelper.dll
Syntax
public static class XmlPropArrayHelper
Methods
AddItem(ComWrapper<ICamIpcXmlPropArray>, ComWrapper<ICamIpcXmlPropPointer>)
Append an item to the array and return its index.
Declaration
public static int AddItem(this ComWrapper<ICamIpcXmlPropArray> arrayCom, ComWrapper<ICamIpcXmlPropPointer> itemCom)
Parameters
Returns
Clear(ComWrapper<ICamIpcXmlPropArray>)
Remove every item from the array.
Declaration
public static void Clear(this ComWrapper<ICamIpcXmlPropArray> arrayCom)
Parameters
CreateNewItem(ComWrapper<ICamIpcXmlPropArray>, string)
Create a new item of the given type, if items of this type are allowed in the array.
Declaration
public static ComWrapper<ICamIpcXmlPropPointer> CreateNewItem(this ComWrapper<ICamIpcXmlPropArray> arrayCom, string id)
Parameters
Returns
Delete(ComWrapper<ICamIpcXmlPropArray>, int)
Delete the item at the given index.
Declaration
public static void Delete(this ComWrapper<ICamIpcXmlPropArray> arrayCom, int index)
Parameters
Remove the item at the given index from the array and return it.
Declaration
public static ComWrapper<ICamIpcXmlPropPointer> ExtractItem(this ComWrapper<ICamIpcXmlPropArray> arrayCom, int index)
Parameters
Returns
IndexOf(ComWrapper<ICamIpcXmlPropArray>, ComWrapper<ICamIpcXmlPropPointer>)
Index of the item in the array, or -1 when it is not there.
Declaration
public static int IndexOf(this ComWrapper<ICamIpcXmlPropArray> arrayCom, ComWrapper<ICamIpcXmlPropPointer> itemCom)
Parameters
Returns
Insert(ComWrapper<ICamIpcXmlPropArray>, ComWrapper<ICamIpcXmlPropPointer>, int)
Insert an item at the given index, shifting subsequent elements.
Declaration
public static void Insert(this ComWrapper<ICamIpcXmlPropArray> arrayCom, ComWrapper<ICamIpcXmlPropPointer> itemCom, int index)
Parameters
InstanceId(ComWrapper<ICamIpcXmlPropArray>)
Unique identifier of the instance, as used in IPC messages.
Declaration
public static string InstanceId(this ComWrapper<ICamIpcXmlPropArray> arrayCom)
Parameters
Returns
Itm(ComWrapper<ICamIpcXmlPropArray>, int)
Declaration
public static ComWrapper<ICamIpcXmlPropPointer> Itm(this ComWrapper<ICamIpcXmlPropArray> arrayCom, int index)
Parameters
Returns
SetTopItem(ComWrapper<ICamIpcXmlPropArray>, int)
Set the index of the last array item.
Declaration
public static void SetTopItem(this ComWrapper<ICamIpcXmlPropArray> arrayCom, int value)
Parameters
TopItem(ComWrapper<ICamIpcXmlPropArray>)
Index of the last array item.
Declaration
public static int TopItem(this ComWrapper<ICamIpcXmlPropArray> arrayCom)
Parameters
Returns