Delen via


SchemaModelViewerControllerBase.ListenToSolutionEvents Method

Creates a solution listener and listens to solution events.

Namespace:  Microsoft.VisualStudio.Data.Schema.Package.Project.SchemaModelViewer
Assembly:  Microsoft.VisualStudio.Data.Schema.Package (in Microsoft.VisualStudio.Data.Schema.Package.dll)

Syntax

'Declaration
Protected Overridable Sub ListenToSolutionEvents
protected virtual void ListenToSolutionEvents()
protected:
virtual void ListenToSolutionEvents()
abstract ListenToSolutionEvents : unit -> unit 
override ListenToSolutionEvents : unit -> unit 
protected function ListenToSolutionEvents()

Remarks

The events currently listened to include AfterRenameProjectEvent, AfterLoadProjectEvent, AfterOpenProjectEvent, BeforeUnloadProjectEvent, and BeforeCloseProjectEvent.

.NET Framework Security

See Also

Reference

SchemaModelViewerControllerBase Class

Microsoft.VisualStudio.Data.Schema.Package.Project.SchemaModelViewer Namespace