Interface IDocumentPropertyCollection
-
Method Summary
void
Removes all properties from the collection.
boolean
int
Returns the number of document property in the collection.
int
Gets the index of a property by name.
void
Removes a property with the specified name from the collection.
void
Removes a property at the specified index.
-
Method Details
-
getCount
int getCount()
Returns the number of document property in the collection.
-
get
- Parameters:
name
- Specifies the name of an element in the collection.
-
get
- Parameters:
index
- Specifies the index of an element in the collection.
-
contains
- Parameters:
name
- The document property name.
- Returns:
- Whether the document property name is contained.
-
clear
void clear()
Removes all properties from the collection.
-
indexOf
Gets the index of a property by name.
- Parameters:
name
- The case-insensitive name of the property.
- Returns:
- The zero based index. Negative value if not found.
-
remove
Removes a property with the specified name from the collection.
- Parameters:
name
- The case-insensitive name of the property.
-
removeAt
void removeAt(int index)
Removes a property at the specified index.
- Parameters:
index
- The zero based index.