StructuredDocumentTagCollection

StructuredDocumentTagCollection class

A collection of IStructuredDocumentTag instances that represent the structured document tags in the specified range.

To learn more, visit the Structured Document Tags or Content Control documentation article.

public class StructuredDocumentTagCollection : IEnumerable<IStructuredDocumentTag>

Properties

NameDescription
Count { get; }Returns the number of structured document tags in the collection.
Item { get; }Returns the structured document tag at the specified index.

Methods

NameDescription
GetById(int)Returns the structured document tag by identifier.
GetByTag(string)Returns the first structured document tag encountered in the collection with the specified tag.
GetByTitle(string)Returns the first structured document tag encountered in the collection with the specified title.
GetEnumerator()Returns an enumerator object.
Remove(int)Removes the structured document tag with the specified identifier.
RemoveAt(int)Removes a structured document tag at the specified index.

See Also