 | OpenXmlElementAnnotationT Method |
Get the first annotation object of the specified type from the current OpenXmlElement element.
Namespace: DocumentFormat.OpenXmlAssembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll) Version: 2.20.0+Branch.release-v2.20.0.Sha.a873d3fbff9bffe179fea62486da950adf5be65d.a873d3fbff9bffe179fea62486da950adf5be65d
Syntaxpublic T Annotation<T>()
where T : class
Public Function Annotation(Of T As Class) As T
public:
generic<typename T>
where T : ref class
T Annotation()
member Annotation : unit -> 'T when 'T : not struct
Type Parameters
- T
- The type of the annotation to retrieve.
Return Value
TThe first annotation object of the specified type.
See Also