ModelStore.CreateAnnotation Method (AnnotationClass)
Namespace: Microsoft.Data.Schema.SchemaModel
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Public Function CreateAnnotation ( _
annotationClass As AnnotationClass _
) As IModelAnnotation
'Usage
Dim instance As ModelStore
Dim annotationClass As AnnotationClass
Dim returnValue As IModelAnnotation
returnValue = instance.CreateAnnotation(annotationClass)
public IModelAnnotation CreateAnnotation(
AnnotationClass annotationClass
)
public:
IModelAnnotation^ CreateAnnotation(
AnnotationClass^ annotationClass
)
public function CreateAnnotation(
annotationClass : AnnotationClass
) : IModelAnnotation
member CreateAnnotation :
annotationClass:AnnotationClass -> IModelAnnotation
Parameters
- annotationClass
Type: Microsoft.Data.Schema.SchemaModel.AnnotationClass
Return Value
Type: Microsoft.Data.Schema.SchemaModel.IModelAnnotation
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.