共用方式為


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

適用於