[]
A collection of document properties.
public interface IDocumentPropertyCollection
Gets the number of document property in the collection.
int Count { get; }
The count.
Gets the IDocumentProperty with the specified index.
IDocumentProperty this[int index] { get; }
index
intGets the IDocumentProperty with the specified name.
IDocumentProperty this[string name] { get; }
name
stringThe name.
Removes all properties from the collection.
void Clear()
Determines whether the document property with specified name is contained in IDocumentPropertyCollection.
bool Contains(string name)
name
stringThe document property name.
Whether the document property name is contained.
Gets the index of a property by name.
int IndexOf(string name)
name
stringThe case-insensitive name of the property.
The zero based index. Negative value if not found.
Removes a property with the specified name from the collection.
void Remove(string name)
name
stringThe case-insensitive name of the property.
Removes a property at the specified index.
void RemoveAt(int index)
index
intThe zero based index.