IVsParseCommandLine.GetCommand(String) Método

Definição

Obtém o comando atual.

public:
 int GetCommand([Runtime::InteropServices::Out] System::String ^ % pbstrCommand);
int GetCommand([Runtime::InteropServices::Out] std::wstring const & & pbstrCommand);
public int GetCommand (out string pbstrCommand);
abstract member GetCommand : string -> int
Public Function GetCommand (ByRef pbstrCommand As String) As Integer

Parâmetros

pbstrCommand
String

fora Ponteiro para uma cadeia de caracteres que contém o comando.

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::GetCommand(  
   [out, retval] BSTR* pbstrCommand  
);  

Aplica-se a