Sdílet prostřednictvím


ITextBufferContentTypeListener.ContentTypeChanged Metoda

Definice

Volá se, když se některý ITextBufferContentType z typů obsahu změní na nebo z některého z typů obsahu uvedených v atributech MEF tohoto exportu.

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)

Parametry

buffer
ITextBuffer
oldContentType
IContentType
newContentType
IContentType

Poznámky

Tato událost může být vyvolána na libovolném vlákně.

Platí pro