CustomXmlPartCollection

CustomXmlPartCollection class

Represents collection of custom xml parts.

public class CustomXmlPartCollection : ICustomXmlPartCollection

Properties

NameDescription
Count { get; }Returns count of custom xml parts in the collection. Read-only Int32.
IsSynchronized { get; }Returns a value indicating whether access to the collection is synchronized (thread-safe). Read-only Boolean.
Item { get; }Returns the element at the specified index.
SyncRoot { get; }Returns a synchronization root. Read-only Object.

Methods

NameDescription
Add(byte[])Adds new custom xml part.
Add(Stream)Adds new custom xml part.
Add(string)Adds new custom xml part.
Clear()Removes all items from the collection.
CopyTo(Array, int)Copy to specified array.
GetEnumerator()Returns an enumerator that iterates through the collection.
Remove(ICustomXmlPart)Removes the first occurrence of a specific object from the collection.
RemoveAt(int)Removes custom xml part at the specified index.

See Also