IVsParseCommandLine.GetSwitchValueCount(Int32) Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Obtém o número de valores de comutador na linha de comando.
public:
int GetSwitchValueCount([Runtime::InteropServices::Out] int % piSwitchValueCount);
int GetSwitchValueCount([Runtime::InteropServices::Out] int & piSwitchValueCount);
public int GetSwitchValueCount (out int piSwitchValueCount);
abstract member GetSwitchValueCount : int -> int
Public Function GetSwitchValueCount (ByRef piSwitchValueCount As Integer) As Integer
Parâmetros
- piSwitchValueCount
- Int32
fora Ponteiro para um inteiro que contém o número de valores de switch.
Retornos
Se o método for bem-sucedido, retornará S_OK. Se falhar, retornará um código de erro.
Comentários
Assinatura COM
De VSShell. idl:
HRESULT IVsParseCommandLine::GetSwitchValueCount(
[out, retval] int* piSwitchValueCount
);