Compartilhar via


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)

Syntax

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

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

Parameters

  • 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

Reference

OpenXmlPartContainer Class

OpenXmlPartContainer Members

Annotations Overload

DocumentFormat.OpenXml.Packaging Namespace