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
| Name | Type | Access | Description |
|---|---|---|---|
Count | int | Read | Gets the total number of the items in the collection. |
Methods
| Signature | Description |
|---|---|
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. |