IVsIntellisenseHost::ReplaceSubjectTextSpan Method (Int32, Int32, String^)
Visual Studio 2015
Edits the text upon which IntelliSense operates.
Assembly: Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)
Parameters
- iStartIndex
-
Type:
System::Int32
[in] Starting index of the subject text.
- iEndIndex
-
Type:
System::Int32
[in] Ending index of the subject text.
- pszText
-
Type:
System::String^
[in] The subject text.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
C++
From singlefileeditor.idl:
HRESULT IVsIntellisenseHost::ReplaceSubjectTextSpan([in] long iStartIndex, [in] long iEndIndex, [in] LPCWSTR pszText);
Show: