IVsParseCommandLine.SwitchHasValue(Int32) Méthode

Définition

Teste, par index, si un commutateur spécifique a une valeur.

public:
 int SwitchHasValue(int iIndex);
public:
 int SwitchHasValue(int iIndex);
int SwitchHasValue(int iIndex);
public int SwitchHasValue (int iIndex);
abstract member SwitchHasValue : int -> int
Public Function SwitchHasValue (iIndex As Integer) As Integer

Paramètres

iIndex
Int32

[in] Entier. Index du commutateur à vérifier.

Retours

Int32

Si le commutateur n'a aucune valeur, retourne S_OK. Sinon, retourne E_FAIL.

Remarques

Signature COM

À partir de vsshell. idl :

HRESULT IVsParseCommandLine::SwitchHasValue(  
   [in] int iIndex  
);  

S’applique à