Click or drag to resize

CustomXmlPartCollection Class

Represents a collection of Custom XML Parts. The items are CustomXmlPart objects.
Inheritance Hierarchy
System Object
Spire.Doc.Documents.Markup CustomXmlPartCollection

Namespace: Spire.Doc.Documents.Markup
Assembly: Spire.Doc (in Spire.Doc.dll) Version: 13.2.3.0 (13.2.3.3046)
Syntax
public class CustomXmlPartCollection : IEnumerable

The CustomXmlPartCollection type exposes the following members.

Constructors
Name Description
Public method CustomXmlPartCollection
Initializes an instance of this class.
Top
Properties
Name Description
Public property Count
Gets the number of elements contained in the collection.
Public property Item
Gets or sets an item at the specified index.
Top
Methods
Name Description
Public method Add
Adds an item to the collection.
Public method Clear
Removes all elements from the collection.
Public method Clone
Makes a deep copy of this collection and its items.
Public method Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object .)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object .)
Public method GetById
Finds and returns a custom XML part by its identifier.
Public method GetEnumerator
Returns an enumeratoriterator object that can be used to iterate over all items in the collection.
Public method GetHashCode
Serves as the default hash function.
(Inherited from Object .)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object .)
Protected method MemberwiseClone
Creates a shallow copy of the current Object .
(Inherited from Object .)
Public method RemoveAt
Removes an item at the specified index.
Public method ToString
Returns a string that represents the current object.
(Inherited from Object .)
Top
Remarks

You do not normally need to create instances of this class. You can access custom XML data stored in a document via the CustomXmlParts property.

See Also