CustomPropertyCollection

CustomPropertyCollection class

A collection of CustomProperty objects that represent additional information.

class CustomPropertyCollection;

Methods

MethodDescription
get(number)Gets the custom property by the specific index.
get(string)Gets the custom property by the property name.
add(string, string)Adds custom property information.
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 the custom property by the specific index.

get(index: number) : CustomProperty;

Parameters:

ParameterTypeDescription
indexnumberThe index.

Returns

The custom property

get(string)

Gets the custom property by the property name.

get(name: string) : CustomProperty;

Parameters:

ParameterTypeDescription
namestringThe property name.

Returns

The custom property

add(string, string)

Adds custom property information.

add(name: string, value: string) : number;

Parameters:

ParameterTypeDescription
namestringThe name of the custom property.
valuestringThe value of the custom property.

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;