Workspace.OnAdditionalDocumentTextChanged 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
在主机环境中更新其他文档的文本时调用此方法。
protected public:
void OnAdditionalDocumentTextChanged(Microsoft::CodeAnalysis::DocumentId ^ documentId, Microsoft::CodeAnalysis::Text::SourceText ^ newText, Microsoft::CodeAnalysis::PreservationMode mode);
protected internal void OnAdditionalDocumentTextChanged (Microsoft.CodeAnalysis.DocumentId documentId, Microsoft.CodeAnalysis.Text.SourceText newText, Microsoft.CodeAnalysis.PreservationMode mode);
member this.OnAdditionalDocumentTextChanged : Microsoft.CodeAnalysis.DocumentId * Microsoft.CodeAnalysis.Text.SourceText * Microsoft.CodeAnalysis.PreservationMode -> unit
Protected Friend Sub OnAdditionalDocumentTextChanged (documentId As DocumentId, newText As SourceText, mode As PreservationMode)
参数
- documentId
- DocumentId
- newText
- SourceText
- mode
- PreservationMode