Workspace.OnAdditionalDocumentAdded(DocumentInfo) 方法

定义

将其他文档添加到主机环境中的项目时调用此方法。

protected public:
 void OnAdditionalDocumentAdded(Microsoft::CodeAnalysis::DocumentInfo ^ documentInfo);
protected internal void OnAdditionalDocumentAdded (Microsoft.CodeAnalysis.DocumentInfo documentInfo);
member this.OnAdditionalDocumentAdded : Microsoft.CodeAnalysis.DocumentInfo -> unit
Protected Friend Sub OnAdditionalDocumentAdded (documentInfo As DocumentInfo)

参数

documentInfo
DocumentInfo

适用于