Compartilhar via


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)

Syntax

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

returnValue = instance.Annotations(type)
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) of object that contains the annotations for this OpenXmlElement.

See Also

Reference

OpenXmlElement Class

OpenXmlElement Members

Annotations Overload

DocumentFormat.OpenXml Namespace