Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

OpenXmlElement.Annotations<T> method

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<T> Annotations<T>()
where T : class

Type parameters


The type of the annotations to retrieve.

Return value

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