Workspace.OnDocumentOpened(DocumentId, SourceTextContainer, Boolean) 方法

定义

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)

参数

documentId
DocumentId
textContainer
SourceTextContainer
isCurrentContext
Boolean

适用于