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.
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.

get(number)

Gets the content type property by the specific index.

get(index: number) : ContentTypeProperty;

Parameters:

ParameterTypeDescription
indexnumberThe index.

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;