Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Retrieves an annotation value for an EDM element. Returns null if no annotation with the given name exists for the given element.
Namespace: Microsoft.Data.Edm.Annotations
Assembly: Microsoft.Data.Edm (in Microsoft.Data.Edm.dll)
Syntax
'Declaration
Function GetAnnotationValue ( _
element As IEdmElement, _
namespaceName As String, _
localName As String _
) As Object
'Usage
Dim instance As IEdmDirectValueAnnotationsManager
Dim element As IEdmElement
Dim namespaceName As String
Dim localName As String
Dim returnValue As Object
returnValue = instance.GetAnnotationValue(element, _
namespaceName, localName)
Object GetAnnotationValue(
IEdmElement element,
string namespaceName,
string localName
)
Object^ GetAnnotationValue(
IEdmElement^ element,
String^ namespaceName,
String^ localName
)
abstract GetAnnotationValue :
element:IEdmElement *
namespaceName:string *
localName:string -> Object
function GetAnnotationValue(
element : IEdmElement,
namespaceName : String,
localName : String
) : Object
Parameters
- element
Type: Microsoft.Data.Edm.IEdmElement
The annotated element.
- namespaceName
Type: System.String
The namespace that the annotation belongs to.
- localName
Type: System.String
The local name of the annotation.
Return Value
Type: System.Object
The annotation value that corresponds to the provided name. Returns null if no annotation with the given name exists for the given element.