AddAnnotation Method

Namespace:  Microsoft.Data.Tools.Model.Util
Assembly:  Microsoft.Data.Tools.Model (in Microsoft.Data.Tools.Model.dll)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Sub AddAnnotation ( _
    node As IModelObject, _
    typeKey As Type, _
    value As Object _
)
'Usage
Dim node As IModelObject
Dim typeKey As Type
Dim value As Object

node.AddAnnotation(typeKey, value)
public static void AddAnnotation(
    this IModelObject node,
    Type typeKey,
    Object value
)
[ExtensionAttribute]
public:
static void AddAnnotation(
    IModelObject^ node, 
    Type^ typeKey, 
    Object^ value
)
static member AddAnnotation : 
        node:IModelObject * 
        typeKey:Type * 
        value:Object -> unit 
public static function AddAnnotation(
    node : IModelObject, 
    typeKey : Type, 
    value : Object
)

Parameters

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IModelObject. When you use instance method syntax to call this method, omit the first parameter. For more information, see https://msdn.microsoft.com/en-us/library/bb384936(v=vs.103) or https://msdn.microsoft.com/en-us/library/bb383977(v=vs.103).

See Also

Reference

ModelExtensions Class

Microsoft.Data.Tools.Model.Util Namespace