IVsParseCommandLine.SwitchHasValue(Int32) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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
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
);