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

See Also

Reference

OpenXmlPartContainer Class

OpenXmlPartContainer Members

Annotation Overload

DocumentFormat.OpenXml.Packaging Namespace