Поделиться через


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)

Syntax

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

Reference

OpenXmlElement Class

OpenXmlElement Members

Annotation Overload

DocumentFormat.OpenXml Namespace