共用方式為


IVsParseCommandLine.ParseCommandTail(String, Int32) Method

Definition

Parses the tail of the command line.

public:
 int ParseCommandTail(System::String ^ szCommandTail, int iMaxParams);
public:
 int ParseCommandTail(Platform::String ^ szCommandTail, int iMaxParams);
int ParseCommandTail(std::wstring const & szCommandTail, int iMaxParams);
public int ParseCommandTail (string szCommandTail, int iMaxParams);
abstract member ParseCommandTail : string * int -> int
Public Function ParseCommandTail (szCommandTail As String, iMaxParams As Integer) As Integer

Parameters

szCommandTail
String

[in] String containing the command line.

iMaxParams
Int32

[in] Integer—the maximum number of parameters.

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::ParseCommandTail(  
   [in, ref] LPCOLESTR szCommandTail,   
   [in] int iMaxParams  
);  

Applies to