OpenXmlElement.Annotation method (Type)

Office 2013 and later

Get the first annotation object of the specified type from the current OpenXmlElement element.

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

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 with the specified type.
Show: