ITextBufferContentTypeListener.ContentTypeChanged Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Called when any ITextBuffer's ContentType is changed to or from one of the content types listed in the MEF attributes of this export.
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)
Parameters
- buffer
- ITextBuffer
- oldContentType
- IContentType
- newContentType
- IContentType
Remarks
This event may be raised on any thread.