Workspace.OnAnalyzerConfigDocumentTextChanged 方法

定义

在主机环境中更新分析器配置文档的文本时调用此方法。

protected internal void OnAnalyzerConfigDocumentTextChanged (Microsoft.CodeAnalysis.DocumentId documentId, Microsoft.CodeAnalysis.Text.SourceText newText, Microsoft.CodeAnalysis.PreservationMode mode);
member this.OnAnalyzerConfigDocumentTextChanged : Microsoft.CodeAnalysis.DocumentId * Microsoft.CodeAnalysis.Text.SourceText * Microsoft.CodeAnalysis.PreservationMode -> unit
Protected Friend Sub OnAnalyzerConfigDocumentTextChanged (documentId As DocumentId, newText As SourceText, mode As PreservationMode)

参数

documentId
DocumentId
newText
SourceText

适用于