CustomPartCollection class

CustomPartCollection class

Represents a collection of CustomPart objects. To learn more, visit the Structured Document Tags or Content Control documentation article.

Remarks

You do not normally need to create instances of this class. You access custom parts related to the OOXML package via the Document.packageCustomParts property.

Constructors

NameDescription
CustomPartCollection()The default constructor.

Properties

NameDescription
countGets the number of elements contained in the collection.
this[]

Methods

NameDescription
add(part)Adds an item to the collection.
clear()Removes all elements from the collection.
clone()Makes a deep copy of this collection and its items.
removeAt(index)Removes an item at the specified index.

See Also