GetAnnotation Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Retrieves an annotation value from an EDM element. Returns null if no annotation with the given name exists.
Namespace: Microsoft.Data.Edm
Assembly: Microsoft.Data.Edm (in Microsoft.Data.Edm.dll)
Syntax
'Declaration
Function GetAnnotation ( _
namespaceName As String, _
localName As String _
) As Object
'Usage
Dim instance As IEdmAnnotatable
Dim namespaceName As String
Dim localName As String
Dim returnValue As Object
returnValue = instance.GetAnnotation(namespaceName, _
localName)
Object GetAnnotation(
string namespaceName,
string localName
)
Object^ GetAnnotation(
String^ namespaceName,
String^ localName
)
abstract GetAnnotation :
namespaceName:string *
localName:string -> Object
function GetAnnotation(
namespaceName : String,
localName : String
) : Object
Parameters
- namespaceName
Type: System..::..String
Namespace that the annotation belongs to.
- localName
Type: System..::..String
Local name of the annotation.
Return Value
Type: System..::..Object
Returns the annotation that corresponds to the provided name. Returns null if no annotation with the given name exists.