共用方式為


SchemaModelViewerControllerBase.ListenToToolWindowEvents 方法

接聽來自 SchemaModelViewerService 的事件。

命名空間:  Microsoft.VisualStudio.Data.Schema.Package.Project.SchemaModelViewer
組件:  Microsoft.VisualStudio.Data.Schema.Package (在 Microsoft.VisualStudio.Data.Schema.Package.dll 中)

語法

'宣告
Protected Overridable Sub ListenToToolWindowEvents
protected virtual void ListenToToolWindowEvents()
protected:
virtual void ListenToToolWindowEvents()
abstract ListenToToolWindowEvents : unit -> unit 
override ListenToToolWindowEvents : unit -> unit 
protected function ListenToToolWindowEvents()

備註

目前,唯一接聽的事件是 DatabaseSchemaViewInitialized。

.NET Framework 安全性

請參閱

參考

SchemaModelViewerControllerBase 類別

Microsoft.VisualStudio.Data.Schema.Package.Project.SchemaModelViewer 命名空間