Bagikan melalui


ModelElement.AddAnnotation Method

Adds the provided IModelAnnotation object to the element.

Namespace:  Microsoft.Data.Schema.SchemaModel
Assembly:  Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)

Syntax

'Declaration
Public Sub AddAnnotation ( _
    annotation As IModelAnnotation _
)
public void AddAnnotation(
    IModelAnnotation annotation
)
public:
virtual void AddAnnotation(
    IModelAnnotation^ annotation
) sealed
abstract AddAnnotation : 
        annotation:IModelAnnotation -> unit 
override AddAnnotation : 
        annotation:IModelAnnotation -> unit 
public final function AddAnnotation(
    annotation : IModelAnnotation
)

Parameters

Implements

IModelAnnotationHolder.AddAnnotation(IModelAnnotation)

.NET Framework Security

See Also

Reference

ModelElement Class

Microsoft.Data.Schema.SchemaModel Namespace

IModelAnnotation