Bagikan melalui


ITextBufferContentTypeListener.ContentTypeChanged Metode

Definisi

Dipanggil ketika ada ITextBufferyang ContentType diubah ke atau dari salah satu jenis konten yang tercantum dalam atribut MEF ekspor ini.

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)

Parameter

buffer
ITextBuffer
oldContentType
IContentType
newContentType
IContentType

Keterangan

Kejadian ini dapat dinaikkan pada utas apa pun.

Berlaku untuk