IVsExpansionIntellisenseHost.SetSelection(Int32, Int32) Méthode

Définition

Définit la position de début et de fin d'une sélection d'étendue de texte d'expansion.

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

Paramètres

iStart
Int32

[in] Position de départ de l'étendue du texte d'expansion.

iEnd
Int32

[in] Position de fin du texte de l'étendue du texte d'expansion.

Retours

Int32

Si la méthode réussit, elle retourne VSConstants.S_OK. En cas d'échec, retourne un code d'erreur.

Remarques

C++

À partir de singlefileeditor. idl :

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

S’applique à