다음을 통해 공유


IVsTextStreamEvents.OnChangeStreamAttributes 메서드

텍스트 스트림에 특성 변경 되었음을 클라이언트에 알립니다.

네임스페이스:  Microsoft.VisualStudio.TextManager.Interop
어셈블리:  Microsoft.VisualStudio.TextManager.Interop(Microsoft.VisualStudio.TextManager.Interop.dll)

구문

‘선언
Sub OnChangeStreamAttributes ( _
    iPos As Integer, _
    iLength As Integer _
)
void OnChangeStreamAttributes(
    int iPos,
    int iLength
)
void OnChangeStreamAttributes(
    [InAttribute] int iPos, 
    [InAttribute] int iLength
)
abstract OnChangeStreamAttributes : 
        iPos:int * 
        iLength:int -> unit
function OnChangeStreamAttributes(
    iPos : int, 
    iLength : int
)

매개 변수

  • iPos
    형식: Int32

    [in] 영향을 받는 텍스트의 시작 위치입니다.

  • iLength
    형식: Int32

    [in] 텍스트 스트림에 영향을 받는 텍스트의 길이입니다.

설명

COM 시그니처

Textmgr.idl에서:

HRESULT IVsTextStreamEvents::OnChangeStreamAttributes(
   [in] long iPos,
   [in] long iLength
);

이 이벤트의 위치 변경 텍스트 결과 텍스트를 변경 특성 구문 및 표식 색 지정 스트림 인스턴스가 호출 됩니다. 텍스트 변경 내용을 모두 프로그래밍 방식으로 사용자 동작을 통해 발생할 수 있습니다.

.NET Framework 보안

참고 항목

참조

IVsTextStreamEvents 인터페이스

Microsoft.VisualStudio.TextManager.Interop 네임스페이스