GeneralFormatCollection

GeneralFormatCollection

Overview

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

Represents a typed collection of general formats.

This class provides 4 methods for working with GeneralFormatCollection objects in .NET programs. Available methods include: Add, GetEnumerator, Remove, 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 total number of the items in the collection.

Methods

SignatureDescription
Add(item: GeneralFormat)Adds a general format to the collection.
Remove(item: GeneralFormat)Removes all occurrences of the specified general format from the collection.
RemoveAt(index: int)Removes a general format occurrence at the specified index.
GetEnumerator()Returns an enumerator object.

See Also