ITextBufferContentTypeListener.ContentTypeChanged 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
이 내보내기의 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
설명
이 이벤트는 모든 스레드에서 발생할 수 있습니다.