共用方式為


Workspace.DocumentActiveContextChanged 事件

定義

與緩衝區相關聯的使用中內容檔變更時所引發的事件。

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

事件類型

適用於