IVsExpansionIntellisenseHost::GetSelection Method (Int32, Int32)
Visual Studio 2015
Retrieves the starting and ending positions of the current expansion selection.
Assembly: Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)
Parameters
- iStart
-
Type:
System::Int32
[out] The start position of the expansion text span.
- iEnd
-
Type:
System::Int32
[out] The end position of the expansion text span.
Return Value
Type: System::Int32If the method succeeds, it returns VSConstants.S_OK. If it fails, it returns an error code.
C++
From singlefileeditor.idl:
HRESULT IVsExpansionIntellisenseHost::GetSelection([out] long *iStart, [out] long *iEnd);
Show: