Aracılığıyla paylaş


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>
Public Iterator Function Annotations (type As Type) As IEnumerable(Of Object)
Public Function Annotations (type As Type) As IEnumerable(Of Object)

Parameters

type
Type

The type of the annotations to retrieve.

Returns

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)
Public Function Annotations(Of T As Class) () As IEnumerable(Of T)

Type Parameters

T

The type of the annotations to retrieve.

Returns

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

Applies to