StructuredDocumentTagCollection
Overview
StructuredDocumentTagCollection is a class in Aspose.Words FOSS for .NET.
Inherits from: IEnumerable<IStructuredDocumentTag>.
A collection of IStructuredDocumentTag instances that represent the structured document tags in the specified range.
This class provides 6 methods for working with StructuredDocumentTagCollection objects in .NET programs.
Available methods include: GetById, GetByTag, GetByTitle, 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 | Returns the number of structured document tags in the collection. |
Methods
| Signature | Description |
|---|---|
GetById(id: int) | Returns the structured document tag by identifier. |
GetByTitle(title: string) | Returns the first structured document tag encountered in the collection with the specified title. |
GetByTag(tag: string) | Returns the first structured document tag encountered in the collection with the specified tag. |
Remove(id: int) | Removes the structured document tag with the specified identifier. |
RemoveAt(index: int) | Removes a structured document tag at the specified index. |
GetEnumerator() | Returns an enumerator object. |