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.Library.Annotations
Assembly: Microsoft.Data.Edm (in Microsoft.Data.Edm.dll)
Syntax
'Declaration
Public Function GetAnnotationValue ( _
element As IEdmElement, _
namespaceName As String, _
localName As String _
) As Object
'Usage
Dim instance As EdmDirectValueAnnotationsManager
Dim element As IEdmElement
Dim namespaceName As String
Dim localName As String
Dim returnValue As Object
returnValue = instance.GetAnnotationValue(element, _
namespaceName, localName)
public Object GetAnnotationValue(
IEdmElement element,
string namespaceName,
string localName
)
public:
virtual Object^ GetAnnotationValue(
IEdmElement^ element,
String^ namespaceName,
String^ localName
) sealed
abstract GetAnnotationValue :
element:IEdmElement *
namespaceName:string *
localName:string -> Object
override GetAnnotationValue :
element:IEdmElement *
namespaceName:string *
localName:string -> Object
public final function GetAnnotationValue(
element : IEdmElement,
namespaceName : String,
localName : String
) : Object
Parameters
- element
Type: Microsoft.Data.Edm.IEdmElement
The annotated element.
- 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 for the given element.
Implements
IEdmDirectValueAnnotationsManager.GetAnnotationValue(IEdmElement, String, String)