Workspace.DocumentOpened 事件

定义

在编辑器中打开 a Document 时触发的事件。

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

事件类型

适用于