Partager via


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)

Syntax

'Declaration
Public Function Annotations(Of T As Class) As IEnumerable(Of T)
'Usage
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

Reference

OpenXmlElement Class

OpenXmlElement Members

Annotations Overload

DocumentFormat.OpenXml Namespace