Workspace.ApplyDocumentTextChanged(DocumentId, SourceText) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- id
- DocumentId
- text
- SourceText
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.