OpenXmlPartContainer.Annotation<T> Method
Get the first annotation object of the specified type from this PartContainer
Namespace: DocumentFormat.OpenXml.Packaging
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'宣言
Public Function Annotation(Of T As Class) As T
'使用
Dim instance As OpenXmlPartContainer
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