IVsTextImageEvents.OnTextChange(TextAddress, TextAddress, TextAddress) Метод

Определение

Уведомляет клиента об изменении текстового изображения.

public:
 void OnTextChange(Microsoft::VisualStudio::TextManager::Interop::TextAddress taStart, Microsoft::VisualStudio::TextManager::Interop::TextAddress taEnd, Microsoft::VisualStudio::TextManager::Interop::TextAddress taNewEnd);
public:
 void OnTextChange(Microsoft::VisualStudio::TextManager::Interop::TextAddress taStart, Microsoft::VisualStudio::TextManager::Interop::TextAddress taEnd, Microsoft::VisualStudio::TextManager::Interop::TextAddress taNewEnd);
void OnTextChange(Microsoft::VisualStudio::TextManager::Interop::TextAddress taStart, Microsoft::VisualStudio::TextManager::Interop::TextAddress taEnd, Microsoft::VisualStudio::TextManager::Interop::TextAddress taNewEnd);
public void OnTextChange (Microsoft.VisualStudio.TextManager.Interop.TextAddress taStart, Microsoft.VisualStudio.TextManager.Interop.TextAddress taEnd, Microsoft.VisualStudio.TextManager.Interop.TextAddress taNewEnd);
abstract member OnTextChange : Microsoft.VisualStudio.TextManager.Interop.TextAddress * Microsoft.VisualStudio.TextManager.Interop.TextAddress * Microsoft.VisualStudio.TextManager.Interop.TextAddress -> unit
Public Sub OnTextChange (taStart As TextAddress, taEnd As TextAddress, taNewEnd As TextAddress)

Параметры

taStart
TextAddress

[in] Начальный адрес изображения текста.

taEnd
TextAddress

[in] Конечный адрес изображения текста.

taNewEnd
TextAddress

[in] Новый конечный адрес изображения текста.

Комментарии

Подпись COM

Из текстмгр. IDL:

HRESULT IVsTextImageEvents::OnTextChange(  
   [in] TextAddress taStart,  
   [in] TextAddress taEnd,  
   [in] TextAddress taNewEnd  
);  

Среда передает указатель на этот интерфейс через вызов AdviseTextImageEvents . Используйте этот метод, чтобы уведомить среду о любых изменениях в текстовом изображении.

Применяется к