CustomXmlPartCollection
Overview
CustomXmlPartCollection is a class in Aspose.Words FOSS for .NET.
Inherits from: IEnumerable<CustomXmlPart>.
Represents a collection of Custom XML Parts.
This class provides 7 methods for working with CustomXmlPartCollection objects in .NET programs.
Available methods include: Add, Clear, Clone, GetById, GetEnumerator, 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(part: CustomXmlPart) | Adds an item to the collection. |
Add(id: string, xml: string) | Creates a new XML part with the specified XML and adds it to the collection. |
RemoveAt(index: int) | Removes an item at the specified index. |
Clear() | Removes all elements from the collection. |
GetById(id: string) | Finds and returns a custom XML part by its identifier. |
Clone() | Makes a deep copy of this collection and its items. |