SetAnnotation Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Sets an annotation value in an EDM element. If the value is null, no annotation is added and an existing annotation with the same name is removed.

Namespace:  Microsoft.Data.Edm
Assembly:  Microsoft.Data.Edm (in Microsoft.Data.Edm.dll)

Syntax

'Declaration
Sub SetAnnotation ( _
    namespaceName As String, _
    localName As String, _
    value As Object _
)
'Usage
Dim instance As IEdmAnnotatable
Dim namespaceName As String
Dim localName As String
Dim value As Object

instance.SetAnnotation(namespaceName, _
    localName, value)
void SetAnnotation(
    string namespaceName,
    string localName,
    Object value
)
void SetAnnotation(
    String^ namespaceName, 
    String^ localName, 
    Object^ value
)
abstract SetAnnotation : 
        namespaceName:string * 
        localName:string * 
        value:Object -> unit 
function SetAnnotation(
    namespaceName : String, 
    localName : String, 
    value : Object
)

Parameters

See Also

Reference

IEdmAnnotatable Interface

Microsoft.Data.Edm Namespace