OpenXmlElement.Annotations Method

Definition

Overloads

Annotations(Type)

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

Annotations<T>()

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

Annotations(Type)

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

public System.Collections.Generic.IEnumerable<object> Annotations (Type type);
member this.Annotations : Type -> seq<obj>

Parameters

type
Type

The Type of the annotations to retrieve.

Returns

IEnumerable<Object>

An IEnumerable(T) object that contains the annotations for the current OpenXmlElement element.

Applies to

Annotations<T>()

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

public System.Collections.Generic.IEnumerable<T> Annotations<T> () where T : class;
member this.Annotations : unit -> seq<'T (requires 'T : null)> (requires 'T : null)
Public Iterator Function Annotations(Of T As Class) () As IEnumerable(Of T)

Type Parameters

T

The type of the annotations to retrieve.

Returns

IEnumerable<T>

An IEnumerable(T) object that contains the annotations for current OpenXmlElement element.

Applies to