共用方式為


Workspace.DocumentOpened 事件

定義

在編輯器中開啟 時 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) 

事件類型

適用於