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
- annotationClass
Type: Microsoft.Data.Schema.SchemaModel.ModelAnnotationClass
Return Value
Type: Microsoft.Data.Schema.SchemaModel.IModelAnnotation
The created annotation.
.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.