OpenXmlElement.Annotations<T> Method

Gets a collection of annotations of the specified type for this OpenXmlElement.

Namespace:  DocumentFormat.OpenXml
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)


Public Function Annotations(Of T As Class) As IEnumerable(Of T)
Dim instance As OpenXmlElement
Dim returnValue As IEnumerable(Of T)

returnValue = instance.Annotations()
public IEnumerable<T> Annotations<T>()
where T : class

Type Parameters

  • T
    The type of the annotations to retrieve.

Return Value

Type: System.Collections.Generic.IEnumerable<T>
An IEnumerable(T) of object that contains the annotations for this OpenXmlElement.

See Also


OpenXmlElement Class

OpenXmlElement Members

Annotations Overload

DocumentFormat.OpenXml Namespace