ContentTypePropertyCollection
Contents
[
Hide
]ContentTypePropertyCollection class
A collection of ContentTypeProperty objects that represent additional information.
class ContentTypePropertyCollection;
Methods
Method | Description |
---|---|
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:
Parameter | Type | Description |
---|---|---|
index | number | The index. |
Returns
The content type property
get(string)
Gets the content type property by the property name.
get(name: string) : ContentTypeProperty;
Parameters:
Parameter | Type | Description |
---|---|---|
name | string | The property name. |
Returns
The content type property
add(string, string)
Adds content type property information.
add(name: string, value: string) : number;
Parameters:
Parameter | Type | Description |
---|---|---|
name | string | The name of the content type property. |
value | string | The value of the content type property. |
add(string, string, string)
Adds content type property information.
add(name: string, value: string, type: string) : number;
Parameters:
Parameter | Type | Description |
---|---|---|
name | string | The name of the content type property. |
value | string | The value of the content type property. |
type | string | The 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;