OpenXmlElement.Annotations Method (Type)

Gets a collection of annotations of the specified type for this OpenXmlElement.

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


Public Function Annotations ( _
    type As Type _
) As IEnumerable(Of Object)
Dim instance As OpenXmlElement
Dim type As Type
Dim returnValue As IEnumerable(Of Object)

returnValue = instance.Annotations(type)
public IEnumerable<Object> Annotations(
    Type type


  • type
    Type: System.Type
    The Type of the annotations to retrieve.

Return Value

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

See Also


OpenXmlElement Class

OpenXmlElement Members

Annotations Overload

DocumentFormat.OpenXml Namespace