Click or drag to resize

OpenXmlElementAnnotationT Method

Get the first annotation object of the specified type from the current OpenXmlElement element.

Namespace: DocumentFormat.OpenXml
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll) Version: 2.20.0+Branch.release-v2.20.0.Sha.a873d3fbff9bffe179fea62486da950adf5be65d.a873d3fbff9bffe179fea62486da950adf5be65d
Syntax
public T Annotation<T>()
where T : class

Type Parameters

T
The type of the annotation to retrieve.

Return Value

T
The first annotation object of the specified type.
See Also