Workspace.ApplyAdditionalDocumentTextChanged(DocumentId, SourceText) 方法

定义

调用此方法可更改其他文档的文本。

重写此方法以实现更改其他文档文本的功能。

protected:
 virtual void ApplyAdditionalDocumentTextChanged(Microsoft::CodeAnalysis::DocumentId ^ id, Microsoft::CodeAnalysis::Text::SourceText ^ text);
protected virtual void ApplyAdditionalDocumentTextChanged (Microsoft.CodeAnalysis.DocumentId id, Microsoft.CodeAnalysis.Text.SourceText text);
abstract member ApplyAdditionalDocumentTextChanged : Microsoft.CodeAnalysis.DocumentId * Microsoft.CodeAnalysis.Text.SourceText -> unit
override this.ApplyAdditionalDocumentTextChanged : Microsoft.CodeAnalysis.DocumentId * Microsoft.CodeAnalysis.Text.SourceText -> unit
Protected Overridable Sub ApplyAdditionalDocumentTextChanged (id As DocumentId, text As SourceText)

参数

text
SourceText

适用于