EdmTypeAnnotation Constructor (IEdmVocabularyAnnotatable, IEdmTerm, String, array<IEdmPropertyValueBinding[])
Initializes a new instance of the EdmTypeAnnotation 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, _
ParamArray propertyValueBindings As IEdmPropertyValueBinding() _
)
'Usage
Dim target As IEdmVocabularyAnnotatable
Dim term As IEdmTerm
Dim qualifier As String
Dim propertyValueBindings As IEdmPropertyValueBinding()
Dim instance As New EdmTypeAnnotation(target, _
term, qualifier, propertyValueBindings)
public EdmTypeAnnotation(
IEdmVocabularyAnnotatable target,
IEdmTerm term,
string qualifier,
params IEdmPropertyValueBinding[] propertyValueBindings
)
public:
EdmTypeAnnotation(
IEdmVocabularyAnnotatable^ target,
IEdmTerm^ term,
String^ qualifier,
... array<IEdmPropertyValueBinding^>^ propertyValueBindings
)
new :
target:IEdmVocabularyAnnotatable *
term:IEdmTerm *
qualifier:string *
propertyValueBindings:IEdmPropertyValueBinding[] -> EdmTypeAnnotation
public function EdmTypeAnnotation(
target : IEdmVocabularyAnnotatable,
term : IEdmTerm,
qualifier : String,
... propertyValueBindings : IEdmPropertyValueBinding[]
)
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.
- propertyValueBindings
Type: array<Microsoft.Data.Edm.Annotations.IEdmPropertyValueBinding[]
Value annotations for the properties of the type.