Class CustomXmlPartCollection
An ordered collection of CustomXmlPart objects belonging to a document.
Inheritance
CustomXmlPartCollection
Assembly: DRIT.Document.dll
Syntax
public class CustomXmlPartCollection : IEnumerable<CustomXmlPart>, IEnumerable
Properties
Count
Gets the number of custom XML parts in the collection.
Declaration
public int Count { get; }
Property Value
this[int]
Gets the custom XML part at the specified index.
Declaration
public CustomXmlPart this[int index] { get; }
Parameters
| Type |
Name |
Description |
| int |
index |
|
Property Value
Methods
Add(string)
Adds a new custom XML part with the given XML content and returns it.
Declaration
public CustomXmlPart Add(string xmlContent)
Parameters
| Type |
Name |
Description |
| string |
xmlContent |
|
Returns
Clear()
Removes all custom XML parts from the collection.
Declaration
GetEnumerator()
Returns an enumerator that iterates through the collection.
Declaration
public IEnumerator<CustomXmlPart> GetEnumerator()
Returns
Remove(CustomXmlPart)
Removes the specified custom XML part from the collection.
Declaration
public bool Remove(CustomXmlPart part)
Parameters
Returns
SelectByID(string)
Selects a custom XML part by its ID.
Declaration
public CustomXmlPart SelectByID(string id)
Parameters
| Type |
Name |
Description |
| string |
id |
|
Returns
Implements