OpenXmlElement.Annotations method (Type)

Office 2013 and later

Gets a collection of annotations with the specified type for the current OpenXmlElement element.

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

public IEnumerable<Object> Annotations(
	Type type
)

Parameters

type
Type: System.Type

The Type of the annotations to retrieve.

Return value

Type: System.Collections.Generic.IEnumerable<Object>
An IEnumerable(T) object that contains the annotations for the current OpenXmlElement element.
Show: