Aracılığıyla paylaş


IVsExpansionIntellisenseHost.SetSelection(Int32, Int32) Method

Definition

Sets the starting and ending position of an expansion text span selection.

public:
 int SetSelection(int iStart, int iEnd);
public:
 int SetSelection(int iStart, int iEnd);
int SetSelection(int iStart, int iEnd);
public int SetSelection (int iStart, int iEnd);
abstract member SetSelection : int * int -> int
Public Function SetSelection (iStart As Integer, iEnd As Integer) As Integer

Parameters

iStart
Int32

[in] The start position of the expansion text span.

iEnd
Int32

[in] The end position of the expansion text span.

Returns

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

Remarks

C++

From singlefileeditor.idl:

HRESULT IVsExpansionIntellisenseHost::SetSelection([in] long iStart, [in] long iEnd);

Applies to