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)


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


  • 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


OpenXmlElement Class

OpenXmlElement Members

Annotation Overload

DocumentFormat.OpenXml Namespace