.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+
Row

CustomXmlPartCollection Members

A collection of arbitrary XML data (custom XML parts) embedded in the workbook.

Properties

Name Description
Count Gets the number of elements contained in the ICollection.
(Inherited from ICollection)
IsSynchronized Gets a value indicating whether access to the ICollection is synchronized (thread safe).
(Inherited from ICollection)
SyncRoot Gets an object that can be used to synchronize access to the ICollection.
(Inherited from ICollection)

Methods

Name Description
Add()

Adds a new item to the custom XML parts collection.

Add(String)

Adds a new item with the specified content to the collection of custom XML parts.

Add(XmlDocument)

Adds the specified XML document to the collection of custom XML parts.

Clear()

Removes all items from the collection.

Contains(ICustomXmlPart)

Checks whether the collection contains the specified custom XML part.

Contains(String)

Checks whether there is an item in the collection whose XML content equals the specified XML string.

CopyTo(Array, Int32) Copies the elements of the ICollection to an Array, starting at a particular Array index.
(Inherited from ICollection)
GetEnumerator() Returns an enumerator that iterates through the collection.
(Inherited from IEnumerable<T>)
IndexOf(ICustomXmlPart)

Gets the index of the specified custom XML part in the collection.

IndexOf(String)

Gets the index of the custom XML part with the specified XML content within the collection.

Insert(Int32)

Inserts a new custom XML part at the specified position within the collection.

Insert(Int32, String)

Inserts new content at the specified position within the collection.

Insert(Int32, XmlDocument)

Inserts the specified XML document to the specified position within the collection.

Remove(ICustomXmlPart)

Removes the specified custom XML part from the collection.

RemoveAt(Int32)

Removes the custom XML part at the specified index from the collection.

See Also