Partager via


OpenXmlPartContainer.Annotations<T> Method

Gets a collection of annotations of the specified type for this PartContainer

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

Syntax

'Declaration
Public Function Annotations(Of T As Class) As IEnumerable(Of T)
'Usage
Dim instance As OpenXmlPartContainer
Dim returnValue As IEnumerable(Of T)

returnValue = instance.Annotations()
public IEnumerable<T> Annotations<T>()
where T : class

Type Parameters

  • T
    The type of the annotations to retrieve.

Return Value

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

See Also

Reference

OpenXmlPartContainer Class

OpenXmlPartContainer Members

Annotations Overload

DocumentFormat.OpenXml.Packaging Namespace