EdmTypeAnnotation Constructor (IEdmVocabularyAnnotatable, IEdmTerm, String, IEnumerable<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, _
propertyValueBindings As IEnumerable(Of IEdmPropertyValueBinding) _
)
'Usage
Dim target As IEdmVocabularyAnnotatable
Dim term As IEdmTerm
Dim qualifier As String
Dim propertyValueBindings As IEnumerable(Of IEdmPropertyValueBinding)
Dim instance As New EdmTypeAnnotation(target, _
term, qualifier, propertyValueBindings)
public EdmTypeAnnotation(
IEdmVocabularyAnnotatable target,
IEdmTerm term,
string qualifier,
IEnumerable<IEdmPropertyValueBinding> propertyValueBindings
)
public:
EdmTypeAnnotation(
IEdmVocabularyAnnotatable^ target,
IEdmTerm^ term,
String^ qualifier,
IEnumerable<IEdmPropertyValueBinding^>^ propertyValueBindings
)
new :
target:IEdmVocabularyAnnotatable *
term:IEdmTerm *
qualifier:string *
propertyValueBindings:IEnumerable<IEdmPropertyValueBinding> -> EdmTypeAnnotation
public function EdmTypeAnnotation(
target : IEdmVocabularyAnnotatable,
term : IEdmTerm,
qualifier : String,
propertyValueBindings : IEnumerable<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: System.Collections.Generic.IEnumerable<IEdmPropertyValueBinding>
Value annotations for the properties of the type.