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