Partager via


OpenXmlElement.AddAnnotation Method

Adds an object to the annotation list of this OpenXmlElement.

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

Syntax

'Declaration
Public Sub AddAnnotation ( _
    annotation As Object _
)
'Usage
Dim instance As OpenXmlElement
Dim annotation As Object

instance.AddAnnotation(annotation)
public void AddAnnotation(
    Object annotation
)

Parameters

  • annotation
    Type: System.Object
    The annotation to add to this OpenXmlElement.

See Also

Reference

OpenXmlElement Class

OpenXmlElement Members

DocumentFormat.OpenXml Namespace