OpenXmlPartContainer.Annotation Method (Type)
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 ( _
type As Type _
) As Object
用法
Dim instance As OpenXmlPartContainer
Dim type As Type
Dim returnValue As Object
returnValue = instance.Annotation(type)
public Object Annotation(
Type type
)
Parameters
- type
Type: System.Type
The type of the annotation to retrieve
Return Value
Type: System.Object
The first annotation object of the specified type