CustomXmlPartCollection
Contents
[
Hide
]CustomXmlPartCollection class
Represents a Custom XML Data Storage Part (custom XML data within a package).
class CustomXmlPartCollection;
Methods
Method | Description |
---|---|
get(number) | Gets an item at the specified index. |
add(Uint8Array, Uint8Array) | Adds an item to the collection. |
selectByID(string) | Gets an item by id. |
get(number)
Gets an item at the specified index.
get(index: number) : CustomXmlPart;
Parameters:
Parameter | Type | Description |
---|---|---|
index | number | The index. |
Returns
add(Uint8Array, Uint8Array)
Adds an item to the collection.
add(data: Uint8Array, shemaData: Uint8Array) : number;
Parameters:
Parameter | Type | Description |
---|---|---|
data | number[] | The XML content of this Custom XML Data Storage Part. |
shemaData | number[] | The set of XML schemas that are associated with this custom XML part. |
selectByID(string)
Gets an item by id.
selectByID(id: string) : CustomXmlPart;
Parameters:
Parameter | Type | Description |
---|---|---|
id | string | Contains the GUID for the custom XML part. |
Returns