IVsTextViewIntellisenseHost.SetContextSelection Method

Definition

public:
 int SetContextSelection(int iStartLine, int iStartIndex, int iEndLine, int iEndIndex);
public:
 int SetContextSelection(int iStartLine, int iStartIndex, int iEndLine, int iEndIndex);
int SetContextSelection(int iStartLine, int iStartIndex, int iEndLine, int iEndIndex);
public int SetContextSelection (int iStartLine, int iStartIndex, int iEndLine, int iEndIndex);
abstract member SetContextSelection : int * int * int * int -> int
Public Function SetContextSelection (iStartLine As Integer, iStartIndex As Integer, iEndLine As Integer, iEndIndex As Integer) As Integer

Parameters

iStartLine
Int32

 

iStartIndex
Int32

 

iEndLine
Int32

 

iEndIndex
Int32

 

Returns

If the method succeeds, it returns NativeMethods.S_OK. If it fails, it returns an error code.

Implements

Remarks

From singlefileeditor.idl:

HRESULT IVsTextViewIntellisenseHost::SetContextSelection([in] long iStartLine, [in] long iStartIndex, [in] long iEndLine, [in] long iEndIndex);  

Applies to