OpenXmlElement.Annotation<T> Method

Get the first annotation object of the specified type from this OpenXmlElement.

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


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

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

Type Parameters

  • T
    The type of the annotation to retrieve.

Return Value

Type: T
The first annotation object of the specified type.

See Also


OpenXmlElement Class

OpenXmlElement Members

Annotation Overload

DocumentFormat.OpenXml Namespace