OpenXmlElement.Annotation Method (Type)

Get the first annotation object of the specified type from this OpenXmlElement.

Namespace:  DocumentFormat.OpenXml
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

声明
Public Function Annotation ( _
    type As Type _
) As Object
用法
Dim instance As OpenXmlElement
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.

See Also

Reference

OpenXmlElement Class

OpenXmlElement Members

Annotation Overload

DocumentFormat.OpenXml Namespace