接口 IDocumentPropertyCollection

所有已知子接口:
IBuiltInDocumentPropertyCollection, ICustomDocumentPropertyCollection

public interface IDocumentPropertyCollection
Represents a collection of document properties.
  • 方法详细资料

    • getCount

      int getCount()
      Returns the number of document property in the collection.
    • get

      Returns the IDocumentProperty object with the specified name.
      参数:
      name - Specifies the name of an element in the collection.
    • get

      IDocumentProperty get(int index)
      Returns the IDocumentProperty object from a collection.
      参数:
      index - Specifies the index of an element in the collection.
    • contains

      boolean contains(String name)
      Determines whether the document property with specified name is contained in IDocumentPropertyCollection.
      参数:
      name - The document property name.
      返回:
      Whether the document property name is contained.
    • clear

      void clear()
      Removes all properties from the collection.
    • indexOf

      int indexOf(String name)
      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

      void remove(String name)
      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.