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
參數
- annotationClass
型別:Microsoft.Data.Schema.SchemaModel.ModelAnnotationClass
傳回值
型別:Microsoft.Data.Schema.SchemaModel.IModelAnnotation
已建立的附註。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。