Workspace.OnDocumentOpened(DocumentId, SourceTextContainer, Boolean) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
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