共用方式為


Workspace.OnAdditionalDocumentTextChanged 方法

定義

在主機環境中更新其他檔的文字時,呼叫這個方法。

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

參數

documentId
DocumentId
newText
SourceText

適用於