OpenXmlPartContainer.Annotations Method (Type)

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

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


Public Function Annotations ( _
    type As Type _
) As IEnumerable(Of Object)
Dim instance As OpenXmlPartContainer
Dim type As Type
Dim returnValue As IEnumerable(Of Object)

returnValue = instance.Annotations(type)
public IEnumerable<Object> Annotations(
    Type type


  • 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 PartContainer

See Also


OpenXmlPartContainer Class

OpenXmlPartContainer Members

Annotations Overload

DocumentFormat.OpenXml.Packaging Namespace