ModelStore.CreateAnnotation 方法 (ModelAnnotationClass)

使用指定的附註中繼資料建立附註。

命名空間:  Microsoft.Data.Schema.SchemaModel
組件:  Microsoft.Data.Schema (在 Microsoft.Data.Schema.dll 中)

語法

'宣告
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

參數

傳回值

型別:Microsoft.Data.Schema.SchemaModel.IModelAnnotation
已建立的附註。

.NET Framework 安全性

請參閱

參考

ModelStore 類別

CreateAnnotation 多載

Microsoft.Data.Schema.SchemaModel 命名空間

ModelAnnotationClass