Partager via


IVsParseCommandLine.GetCommandTail(String) Method

Definition

Returns the tail of the command line—characters remaining after the defined switches and arguments.

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

Parameters

pbstrCommandTail
String

[out] Pointer to a string containing the tail of the command line.

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

Applies to