OpenXmlPartContainer.Annotations<T> Method

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

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
    Specifies the Type of the annotations to retrieve.

Return Value

Type: System.Collections.Generic.IEnumerable<T>
Returns 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