共用方式為


Workspace.OnAdditionalDocumentOpened Method

Definition

protected internal void OnAdditionalDocumentOpened (Microsoft.CodeAnalysis.DocumentId documentId, Microsoft.CodeAnalysis.Text.SourceTextContainer textContainer, bool isCurrentContext = true);
member this.OnAdditionalDocumentOpened : Microsoft.CodeAnalysis.DocumentId * Microsoft.CodeAnalysis.Text.SourceTextContainer * bool -> unit
Protected Friend Sub OnAdditionalDocumentOpened (documentId As DocumentId, textContainer As SourceTextContainer, Optional isCurrentContext As Boolean = true)

Parameters

documentId
DocumentId
textContainer
SourceTextContainer
isCurrentContext
Boolean

Applies to