Поделиться через


ModelStore.CreateAnnotation Method (ModelAnnotationClass)

Creates an annotation by using the given annotation metadata.

Namespace:  Microsoft.Data.Schema.SchemaModel
Assembly:  Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)

Syntax

'Declaration
Public Function CreateAnnotation ( _
    annotationClass As ModelAnnotationClass _
) As IModelAnnotation
public IModelAnnotation CreateAnnotation(
    ModelAnnotationClass annotationClass
)
public:
IModelAnnotation^ CreateAnnotation(
    ModelAnnotationClass^ annotationClass
)
member CreateAnnotation : 
        annotationClass:ModelAnnotationClass -> IModelAnnotation 
public function CreateAnnotation(
    annotationClass : ModelAnnotationClass
) : IModelAnnotation

Parameters

Return Value

Type: Microsoft.Data.Schema.SchemaModel.IModelAnnotation
The created annotation.

.NET Framework Security

See Also

Reference

ModelStore Class

CreateAnnotation Overload

Microsoft.Data.Schema.SchemaModel Namespace

ModelAnnotationClass