다음을 통해 공유


IVsIntellisenseHost.ReplaceSubjectTextSpan 메서드

IntelliSense 작동 텍스트를 편집 합니다.

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

구문

‘선언
Function ReplaceSubjectTextSpan ( _
    iStartIndex As Integer, _
    iEndIndex As Integer, _
    pszText As String _
) As Integer
int ReplaceSubjectTextSpan(
    int iStartIndex,
    int iEndIndex,
    string pszText
)
int ReplaceSubjectTextSpan(
    [InAttribute] int iStartIndex, 
    [InAttribute] int iEndIndex, 
    [InAttribute] String^ pszText
)
abstract ReplaceSubjectTextSpan : 
        iStartIndex:int * 
        iEndIndex:int * 
        pszText:string -> int
function ReplaceSubjectTextSpan(
    iStartIndex : int, 
    iEndIndex : int, 
    pszText : String
) : int

매개 변수

  • iStartIndex
    형식: Int32

    [in] 제목 텍스트의 시작 인덱스입니다.

  • iEndIndex
    형식: Int32

    [in] 제목 텍스트의 끝 인덱스입니다.

  • pszText
    형식: String

    [in] 제목 텍스트입니다.

반환 값

형식: Int32
메서드가 성공 하면, 반환 S_OK.실패할 경우 오류 코드를 반환합니다.

설명

C++

Singlefileeditor.idl에서:

HRESULT IVsIntellisenseHost::ReplaceSubjectTextSpan([in] long iStartIndex, [in] long iEndIndex, [in] LPCWSTR pszText);

.NET Framework 보안

참고 항목

참조

IVsIntellisenseHost 인터페이스

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