다음을 통해 공유


Workspace.OnDocumentTextChanged 메서드

정의

오버로드

OnDocumentTextChanged(Document)

해당 작업 영역 변경 이벤트가 비동기적으로 실행되기를 기다리는 대신 문서의 텍스트가 변경될 때 즉시 작동하도록 이 메서드를 재정의합니다.

OnDocumentTextChanged(DocumentId, SourceText, PreservationMode)

호스트 환경에서 문서 텍스트가 업데이트되면 이 메서드를 호출합니다.

OnDocumentTextChanged(Document)

Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs

해당 작업 영역 변경 이벤트가 비동기적으로 실행되기를 기다리는 대신 문서의 텍스트가 변경될 때 즉시 작동하도록 이 메서드를 재정의합니다.

protected:
 virtual void OnDocumentTextChanged(Microsoft::CodeAnalysis::Document ^ document);
protected virtual void OnDocumentTextChanged (Microsoft.CodeAnalysis.Document document);
abstract member OnDocumentTextChanged : Microsoft.CodeAnalysis.Document -> unit
override this.OnDocumentTextChanged : Microsoft.CodeAnalysis.Document -> unit
Protected Overridable Sub OnDocumentTextChanged (document As Document)

매개 변수

document
Document

적용 대상

OnDocumentTextChanged(DocumentId, SourceText, PreservationMode)

Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs

호스트 환경에서 문서 텍스트가 업데이트되면 이 메서드를 호출합니다.

protected public:
 void OnDocumentTextChanged(Microsoft::CodeAnalysis::DocumentId ^ documentId, Microsoft::CodeAnalysis::Text::SourceText ^ newText, Microsoft::CodeAnalysis::PreservationMode mode);
protected internal void OnDocumentTextChanged (Microsoft.CodeAnalysis.DocumentId documentId, Microsoft.CodeAnalysis.Text.SourceText newText, Microsoft.CodeAnalysis.PreservationMode mode);
member this.OnDocumentTextChanged : Microsoft.CodeAnalysis.DocumentId * Microsoft.CodeAnalysis.Text.SourceText * Microsoft.CodeAnalysis.PreservationMode -> unit
Protected Friend Sub OnDocumentTextChanged (documentId As DocumentId, newText As SourceText, mode As PreservationMode)

매개 변수

documentId
DocumentId
newText
SourceText

적용 대상