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) 

事件类型

适用于