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 보안
- 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용를 참조하세요.