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
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.