Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

OfficeCustomXmlPartCollection<T> Methods
Show Inherited Hide Inherited

A base interface for a workbook’s or text document’s collection of custom XML parts.
Name Description
Add() Adds a new item to the collection.
Add(String) Adds an item with the specified XML content to the collection.
Add(XmlDocument) Adds the specified XML document to the collection of custom XML parts.
Clear() Removes all custom XML parts from the collection.
Contains(T) Determines whether the collection contains the specified custom XML part.
Contains(String) Determines whether the collection contains an item 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(T) Returns the index of the specified custom XML part in the collection.
IndexOf(String) Returns the index of a custom XML part with the specified XML content.
Insert(Int32, String) Inserts a new custom XML part with the given content at the specified position in the collection.
Insert(Int32, XmlDocument) Inserts the specified XML document at the specified position in the collection.
Insert(Int32) Inserts a new custom XML part at the specified position in the collection.
Remove(T) Removes the specified custom XML part from the collection.
RemoveAt(Int32) Removes a custom XML part at the specified index from the collection.
See Also