IModelAnnotationHolder.AddAnnotation 方法
將指定的附註加入至這個項目。
命名空間: Microsoft.Data.Schema.SchemaModel
組件: Microsoft.Data.Schema (在 Microsoft.Data.Schema.dll 中)
語法
'宣告
Sub AddAnnotation ( _
annotation As IModelAnnotation _
)
void AddAnnotation(
IModelAnnotation annotation
)
void AddAnnotation(
IModelAnnotation^ annotation
)
abstract AddAnnotation :
annotation:IModelAnnotation -> unit
function AddAnnotation(
annotation : IModelAnnotation
)
參數
- annotation
型別:Microsoft.Data.Schema.SchemaModel.IModelAnnotation
要加入的模型附註。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。