IVsParseCommandLine::GetCommand Method (String^)

 

Gets the current command.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

int GetCommand(
	[OutAttribute] String^% pbstrCommand
)

Parameters

pbstrCommand
Type: System::String^

[out] Pointer to a string containing the command.

Return Value

Type: System::Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

From vsshell.idl:

HRESULT IVsParseCommandLine::GetCommand(
   [out, retval] BSTR* pbstrCommand
);
Return to top
Show: