Nota
O acesso a esta página requer autorização. Podes tentar iniciar sessão ou mudar de diretório.
O acesso a esta página requer autorização. Podes tentar mudar de diretório.
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.
Namespace: Microsoft.Data.Edm.Annotations
Assembly: Microsoft.Data.Edm (in Microsoft.Data.Edm.dll)
Syntax
'Declaration
Sub SetAnnotationValue ( _
element As IEdmElement, _
namespaceName As String, _
localName As String, _
value As Object _
)
'Usage
Dim instance As IEdmDirectValueAnnotationsManager
Dim element As IEdmElement
Dim namespaceName As String
Dim localName As String
Dim value As Object
instance.SetAnnotationValue(element, _
namespaceName, localName, value)
void SetAnnotationValue(
IEdmElement element,
string namespaceName,
string localName,
Object value
)
void SetAnnotationValue(
IEdmElement^ element,
String^ namespaceName,
String^ localName,
Object^ value
)
abstract SetAnnotationValue :
element:IEdmElement *
namespaceName:string *
localName:string *
value:Object -> unit
function SetAnnotationValue(
element : IEdmElement,
namespaceName : String,
localName : String,
value : 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 name of the annotation within the namespace.
- value
Type: System.Object
The value of the annotation.