IVsParseCommandLine.GetCommand(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the current command.
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
Parameters
- pbstrCommand
- String
[out] Pointer to a string containing the command.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From vsshell.idl:
HRESULT IVsParseCommandLine::GetCommand(
[out, retval] BSTR* pbstrCommand
);