다음을 통해 공유


ITextBufferContentTypeListener.ContentTypeChanged 메서드

정의

이 내보내기의 ContentType MEF 특성에 나열된 콘텐츠 형식 중 하나로 또는 에서 가 변경될 때 ITextBuffer호출됩니다.

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

설명

이 이벤트는 모든 스레드에서 발생할 수 있습니다.

적용 대상