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(number[], number[])Adds an item to the collection.
selectByID(string)Gets an item by id.
getCount()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(number[], number[])

Adds an item to the collection.

add(data: number[], shemaData: number[]) : 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()

Gets the number of elements contained in.

getCount() : number;

isNull()

Checks whether the implementation object is null.

isNull() : boolean;