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