IVsParseCommandLine.GetCommand(String) Methode

Definition

Ruft den aktuellen Befehl ab.

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

Parameter

pbstrCommand
String

[out] Zeiger auf eine Zeichenfolge, die den Befehl enthält.

Gibt zurück

Int32

Wenn die Methode erfolgreich ist, wird S_OK zurückgegeben. Bei einem Fehler wird ein Fehlercode zurückgegeben.

Hinweise

COM-Signatur

Aus vsshell. idl:

HRESULT IVsParseCommandLine::GetCommand(  
   [out, retval] BSTR* pbstrCommand  
);  

Gilt für