IEdmDirectValueAnnotationsManager.SetAnnotationValue 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.
Sets an annotation value for an EDM element. If the value is null, no annotation is added and an existing annotation with the same name is removed.
public void SetAnnotationValue (Microsoft.OData.Edm.IEdmElement element, string namespaceName, string localName, object value);
abstract member SetAnnotationValue : Microsoft.OData.Edm.IEdmElement * string * string * obj -> unit
Public Sub SetAnnotationValue (element As IEdmElement, namespaceName As String, localName As String, value As Object)
Parameters
- element
- IEdmElement
The annotated element.
- namespaceName
- String
Namespace that the annotation belongs to.
- localName
- String
Name of the annotation within the namespace.
- value
- Object
The value of the annotation.