Megosztás a következőn keresztül:


Workspace.OnDocumentOpened(DocumentId, SourceTextContainer, Boolean) Method

Definition

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

Parameters

documentId
DocumentId
textContainer
SourceTextContainer
isCurrentContext
Boolean

Applies to