接口 IDocumentPropertyCollection
public interface IDocumentPropertyCollection
Represents a collection of document properties.
-
方法概要
修饰符和类型方法说明void
clear()
Removes all properties from the collection.boolean
Determines whether the document property with specified name is contained inIDocumentPropertyCollection
.get
(int index) Returns theIDocumentProperty
object from a collection.Returns theIDocumentProperty
object with the specified name.int
getCount()
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
removeAt
(int index) Removes a property at the specified index.
-
方法详细资料
-
getCount
int getCount()Returns the number of document property in the collection. -
get
Returns theIDocumentProperty
object with the specified name.- 参数:
name
- Specifies the name of an element in the collection.
-
get
Returns theIDocumentProperty
object from a collection.- 参数:
index
- Specifies the index of an element in the collection.
-
contains
Determines whether the document property with specified name is contained inIDocumentPropertyCollection
.- 参数:
name
- The document property name.- 返回:
- 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.- 参数:
name
- The case-insensitive name of the property.- 返回:
- The zero based index. Negative value if not found.
-
remove
Removes a property with the specified name from the collection.- 参数:
name
- The case-insensitive name of the property.
-
removeAt
void removeAt(int index) Removes a property at the specified index.- 参数:
index
- The zero based index.
-