IEdmDirectValueAnnotationsManager.GetAnnotationValue Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieves an annotation value for an EDM element. Returns null if no annotation with the given name exists for the given element.
public object GetAnnotationValue (Microsoft.OData.Edm.IEdmElement element, string namespaceName, string localName);
abstract member GetAnnotationValue : Microsoft.OData.Edm.IEdmElement * string * string -> obj
Public Function GetAnnotationValue (element As IEdmElement, namespaceName As String, localName As String) As Object
Parameters
- element
- IEdmElement
The annotated element.
- namespaceName
- String
Namespace that the annotation belongs to.
- localName
- String
Local name of the annotation.
Returns
Returns the annotation value that corresponds to the provided name. Returns null if no annotation with the given name exists for the given element.