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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
SchemaModelViewerControllerBase Class
Microsoft.VisualStudio.Data.Schema.Package.Project.SchemaModelViewer Namespace