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.Library.Values
Assembly: Microsoft.Data.Edm (in Microsoft.Data.Edm.dll)
Syntax
'Declaration
Public Function GetAnnotation ( _
namespaceName As String, _
localName As String _
) As Object
'Usage
Dim instance As EdmValue
Dim namespaceName As String
Dim localName As String
Dim returnValue As Object
returnValue = instance.GetAnnotation(namespaceName, _
localName)
public Object GetAnnotation(
string namespaceName,
string localName
)
public:
virtual Object^ GetAnnotation(
String^ namespaceName,
String^ localName
) sealed
abstract GetAnnotation :
namespaceName:string *
localName:string -> Object
override GetAnnotation :
namespaceName:string *
localName:string -> Object
public final function GetAnnotation(
namespaceName : String,
localName : String
) : Object
Parameters
- namespaceName
Type: System..::..String
The namespace of the annotation.
- localName
Type: System..::..String
The name of the annotation within the namespace.
Return Value
Type: System..::..Object
The requested annotation, or null if no such annotation exists.
Implements
IEdmAnnotatable..::..GetAnnotation(String, String)