ContentTypePropertyCollection

ContentTypePropertyCollection class

A collection of ContentTypeProperty objects that represent additional information.

class ContentTypePropertyCollection;

Methods

MethodDescription
get(number)Gets the content type property by the specific index.
get(string)Gets the content type property by the property name.
add(string, string)Adds content type property information.
add(string, string, string)Adds content type property information.
getCount()Gets the number of elements contained in.
isNull()Checks whether the implementation object is null.

get(number)

Gets the content type property by the specific index.

get(index: number) : ContentTypeProperty;

Parameters:

ParameterTypeDescription
indexnumberThe index.

Returns

The content type property

get(string)

Gets the content type property by the property name.

get(name: string) : ContentTypeProperty;

Parameters:

ParameterTypeDescription
namestringThe property name.

Returns

The content type property

add(string, string)

Adds content type property information.

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

Parameters:

ParameterTypeDescription
namestringThe name of the content type property.
valuestringThe value of the content type property.

add(string, string, string)

Adds content type property information.

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

Parameters:

ParameterTypeDescription
namestringThe name of the content type property.
valuestringThe value of the content type property.
typestringThe type of the content type property.

getCount()

Gets the number of elements contained in.

getCount() : number;

isNull()

Checks whether the implementation object is null.

isNull() : boolean;