IVsTextViewIntellisenseHost::ReplaceSubjectTextSpan Method (Int32, Int32, String^)
Visual Studio 2015
Editing subject text. Return E_FAIL (or something) if text contains CR/LFs and flags contain IHF_SINGLELINESUBJECT.
Assembly: Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)
Parameters
- iStartIndex
-
Type:
System::Int32
- iEndIndex
-
Type:
System::Int32
- pszText
-
Type:
System::String^
Return Value
Type: System::Int32If the method succeeds, it returns NativeMethods.S_OK. If it fails, it returns an error code.
From singlefileeditor.idl:
HRESULT IVsTextViewIntellisenseHost::ReplaceSubjectTextSpan([in] long iStartIndex, [in] long iEndIndex, [in] LPCWSTR pszText);
Show: