CustomXmlPartCollection

CustomXmlPartCollection class

Represents a Custom XML Data Storage Part (custom XML data within a package).

class CustomXmlPartCollection;

Methods

MethodDescription
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.
getCount()@deprecated. Please use the ‘count’ property instead. Gets the number of elements contained in.
isNull()Checks whether the implementation object is null.

get(number)

Gets an item at the specified index.

get(index: number) : CustomXmlPart;

Parameters:

ParameterTypeDescription
indexnumberThe index.

Returns

CustomXmlPart

add(Uint8Array, Uint8Array)

Adds an item to the collection.

add(data: Uint8Array, shemaData: Uint8Array) : number;

Parameters:

ParameterTypeDescription
datanumber[]The XML content of this Custom XML Data Storage Part.
shemaDatanumber[]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:

ParameterTypeDescription
idstringContains the GUID for the custom XML part.

Returns

CustomXmlPart

getCount()

@deprecated. Please use the ‘count’ property instead. Gets the number of elements contained in.

getCount() : number;

isNull()

Checks whether the implementation object is null.

isNull() : boolean;