EdmValueAnnotation Constructor (IEdmVocabularyAnnotatable, IEdmTerm, String, IEdmExpression)
Initializes a new instance of the EdmValueAnnotation class.
Namespace: Microsoft.Data.Edm.Library.Annotations
Assembly: Microsoft.Data.Edm (in Microsoft.Data.Edm.dll)
Syntax
'Declaration
Public Sub New ( _
target As IEdmVocabularyAnnotatable, _
term As IEdmTerm, _
qualifier As String, _
value As IEdmExpression _
)
'Usage
Dim target As IEdmVocabularyAnnotatable
Dim term As IEdmTerm
Dim qualifier As String
Dim value As IEdmExpression
Dim instance As New EdmValueAnnotation(target, _
term, qualifier, value)
public EdmValueAnnotation(
IEdmVocabularyAnnotatable target,
IEdmTerm term,
string qualifier,
IEdmExpression value
)
public:
EdmValueAnnotation(
IEdmVocabularyAnnotatable^ target,
IEdmTerm^ term,
String^ qualifier,
IEdmExpression^ value
)
new :
target:IEdmVocabularyAnnotatable *
term:IEdmTerm *
qualifier:string *
value:IEdmExpression -> EdmValueAnnotation
public function EdmValueAnnotation(
target : IEdmVocabularyAnnotatable,
term : IEdmTerm,
qualifier : String,
value : IEdmExpression
)
Parameters
- target
Type: Microsoft.Data.Edm.IEdmVocabularyAnnotatable
Element the annotation applies to.
- term
Type: Microsoft.Data.Edm.IEdmTerm
Term bound by the annotation.
- qualifier
Type: System.String
Qualifier used to discriminate between multiple bindings of the same property or type.
- value
Type: Microsoft.Data.Edm.Expressions.IEdmExpression
Expression producing the value of the annotation.