[]
A collection of custom document properties.
public class CustomPropertyCollection : DocumentPropertyCollection, IEnumerable<DocumentProperty>, IEnumerable
Adds a document property of the Boolean data type into the collection.
public DocumentProperty Add(string name, bool value)
name
stringThe name of the document property.
value
boolThe value for the document property.
A DocumentProperty object that represents the new property.
Adds a document property of the DateTime data type into the collection.
public DocumentProperty Add(string name, DateTime value)
name
stringThe name of the document property.
value
System.DateTimeThe value for the document property.
A DocumentProperty object that represents the new property.
Adds a document property of the Double data type into the collection.
public DocumentProperty Add(string name, double value)
name
stringThe name of the document property.
value
doubleThe value for the document property.
A DocumentProperty object that represents the new property.
Adds a document property of the Number data type into the collection.
public DocumentProperty Add(string name, int value)
name
stringThe name of the document property.
value
intThe value for the document property.
A DocumentProperty object that represents the new property.
Adds a document property of the String data type into the collection.
public DocumentProperty Add(string name, string value)
name
stringThe name of the document property.
value
stringThe value for the document property.
A DocumentProperty object that represents the new property.
Clears all properties from the collection.
public void Clear()
Removes a document property with the specified name from the collection.
public void Remove(string name)
name
stringThe case-insensitive name of the property.