Поделиться через


ITextBufferContentTypeListener.ContentTypeChanged Метод

Определение

Вызывается при изменении любого ITextBufferContentType типа контента на или из одного из типов контента, перечисленных в атрибутах MEF этого экспорта.

public:
 void ContentTypeChanged(Microsoft::VisualStudio::Text::ITextBuffer ^ buffer, Microsoft::VisualStudio::Utilities::IContentType ^ oldContentType, Microsoft::VisualStudio::Utilities::IContentType ^ newContentType);
public void ContentTypeChanged (Microsoft.VisualStudio.Text.ITextBuffer buffer, Microsoft.VisualStudio.Utilities.IContentType oldContentType, Microsoft.VisualStudio.Utilities.IContentType newContentType);
abstract member ContentTypeChanged : Microsoft.VisualStudio.Text.ITextBuffer * Microsoft.VisualStudio.Utilities.IContentType * Microsoft.VisualStudio.Utilities.IContentType -> unit
Public Sub ContentTypeChanged (buffer As ITextBuffer, oldContentType As IContentType, newContentType As IContentType)

Параметры

buffer
ITextBuffer
oldContentType
IContentType
newContentType
IContentType

Комментарии

Это событие может возникать в любом потоке.

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