Removes a property with the specified name from the collection.
[Visual Basic]Public Sub Remove( _
ByVal
name As
String _
)
Parameters
- name
- The case-insensitive name of the property.
Example
Removes a custom document property.
[C#]
Document doc = new Document(MyDir + "Properties.doc");
doc.CustomDocumentProperties.Remove("Authorized Date");[Visual Basic]
Dim doc As Document = New Document(MyDir & "Properties.doc")
doc.CustomDocumentProperties.Remove("Authorized Date")See Also
DocumentPropertyCollection Class | Aspose.Words.Properties Namespace