Compartilhar via


OpenXmlPartContainer.Annotation Method (Type)

Get the first annotation object of the specified type from this PartContainer

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

Syntax

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

returnValue = instance.Annotation(type)
public Object Annotation(
    Type type
)

Parameters

  • type
    Type: System.Type
    The type of the annotation to retrieve

Return Value

Type: System.Object
The first annotation object of the specified type

See Also

Reference

OpenXmlPartContainer Class

OpenXmlPartContainer Members

Annotation Overload

DocumentFormat.OpenXml.Packaging Namespace