CustomXmlPropertyCollection
Overview
CustomXmlPropertyCollection is a class in Aspose.Words FOSS for .NET.
Inherits from: IEnumerable<CustomXmlProperty>.
Represents a collection of custom XML attributes or smart tag properties.
This class provides 7 methods for working with CustomXmlPropertyCollection objects in .NET programs.
Available methods include: Add, Clear, Contains, GetEnumerator, IndexOfKey, Remove, RemoveAt.
All public members are accessible to any .NET application after installing the Aspose.Words FOSS for .NET package.
Properties: Count.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
Count | int | Read | Gets the number of elements contained in the collection. |
Methods
| Signature | Description |
|---|---|
GetEnumerator() | Returns an enumeratoriteratorenumerator object that can be used to iterate over all items in the collection. |
Add(property: CustomXmlProperty) | Adds a property to the collection. |
Contains(name: string) | Determines whether the collection contains a property with the given name. |
IndexOfKey(name: string) | Returns the zero-based index of the specified property in the collection. |
Remove(name: string) | Removes a property with the specified name from the collection. |
RemoveAt(index: int) | Removes a property at the specified index. |
Clear() | Removes all elements from the collection. |