Share via


Workspace.ApplyDocumentTextChanged(DocumentId, SourceText) Method

Definition

This method is called to change the text of a document.

Override this method to implement the capability of changing document text.

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

Parameters

text
SourceText

Applies to