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
声明
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.