SchemaModelViewerControllerBase.ModelElementAdded 方法
當存放區中加入模型項目時呼叫。
命名空間: Microsoft.VisualStudio.Data.Schema.Package.Project.SchemaModelViewer
組件: Microsoft.VisualStudio.Data.Schema.Package (在 Microsoft.VisualStudio.Data.Schema.Package.dll 中)
語法
'宣告
Protected MustOverride Sub ModelElementAdded ( _
modelElement As IModelElement _
)
protected abstract void ModelElementAdded(
IModelElement modelElement
)
protected:
virtual void ModelElementAdded(
IModelElement^ modelElement
) abstract
abstract ModelElementAdded :
modelElement:IModelElement -> unit
protected abstract function ModelElementAdded(
modelElement : IModelElement
)
參數
- modelElement
型別:Microsoft.Data.Schema.SchemaModel.IModelElement
已加入的模型項目。
備註
模型項目可能尚未進行解析。 這個方法的預設實作不執行任何動作。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。
請參閱
參考
SchemaModelViewerControllerBase 類別
Microsoft.VisualStudio.Data.Schema.Package.Project.SchemaModelViewer 命名空間