CustomPartCollection

CustomPartCollection

Overview

CustomPartCollection is a class in Aspose.Words FOSS for .NET. Inherits from: IEnumerable<CustomPart>.

Represents a collection of CustomPart objects.

This class provides 5 methods for working with CustomPartCollection objects in .NET programs. Available methods include: Add, Clear, Clone, GetEnumerator, RemoveAt. All public members are accessible to any .NET application after installing the Aspose.Words FOSS for .NET package. Properties: Count.

Properties

NameTypeAccessDescription
CountintReadGets the number of elements contained in the collection.

Methods

SignatureDescription
GetEnumerator()Returns an enumeratoriteratorenumerator object that can be used to iterate over all items in the collection.
Add(part: CustomPart)Adds an item to the collection.
RemoveAt(index: int)Removes an item at the specified index.
Clear()Removes all elements from the collection.
Clone()Makes a deep copy of this collection and its items.

See Also