IVsParseCommandLine.GetSwitchValueCount(Int32) Método

Definição

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

Int32

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  
);  

Aplica-se a