共用方式為


Workspace.WorkspaceChanged 事件

定義

每當目前的方案變更時,就會引發事件。

public:
 event EventHandler<Microsoft::CodeAnalysis::WorkspaceChangeEventArgs ^> ^ WorkspaceChanged;
public event EventHandler<Microsoft.CodeAnalysis.WorkspaceChangeEventArgs> WorkspaceChanged;
member this.WorkspaceChanged : EventHandler<Microsoft.CodeAnalysis.WorkspaceChangeEventArgs> 
Public Custom Event WorkspaceChanged As EventHandler(Of WorkspaceChangeEventArgs) 

事件類型

適用於