[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.CustomXmlPartCollection

CustomXmlPartCollection Class

Represents a collection of CustomXmlPart objects in the document.

Inheritance
CustomXmlPartCollection
Namespace: GrapeCity.Documents.Word
Assembly: DS.Documents.Word.dll
Syntax
public class CustomXmlPartCollection : IReadOnlyList<CustomXmlPart>, IReadOnlyCollection<CustomXmlPart>, IEnumerable<CustomXmlPart>, IEnumerable
Public Class CustomXmlPartCollection
    Implements IReadOnlyList(Of CustomXmlPart), IReadOnlyCollection(Of CustomXmlPart), IEnumerable(Of CustomXmlPart), IEnumerable

Properties

Name Description
Count

Gets the number of CustomXmlPart in the collection.

this[int]

Gets the CustomXmlPart at the specified index in the collection.

this[string]

Gets the CustomXmlPart by the specified id in the collection.

Methods

Name Description
Add(XmlDocument, string, string[], string)

Adds a new CustomXmlPart into the collection.

Contains(string)

Checks whether this collection contains a custom xml part with specified id.

GetEnumerator()

Returns an enumerator that iterates through the collection.

Remove(CustomXmlPart)

Removes the specified CustomXmlPart from the collection.

TryGetValue(string, out CustomXmlPart)

Tries to get a custom xml part from the collection by its id.