IVsParseCommandLine.ParseCommandTail Method

Parses the tail of the command line.

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

Syntax

'宣言
Function ParseCommandTail ( _
    szCommandTail As String, _
    iMaxParams As Integer _
) As Integer
'使用
Dim instance As IVsParseCommandLine
Dim szCommandTail As String
Dim iMaxParams As Integer
Dim returnValue As Integer

returnValue = instance.ParseCommandTail(szCommandTail, _
    iMaxParams)
int ParseCommandTail(
    string szCommandTail,
    int iMaxParams
)
int ParseCommandTail(
    [InAttribute] String^ szCommandTail, 
    [InAttribute] int iMaxParams
)
function ParseCommandTail(
    szCommandTail : String, 
    iMaxParams : int
) : int

Parameters

  • szCommandTail
    Type: System.String

    [in] String containing the command line.

  • iMaxParams
    Type: System.Int32

    [in] Integer—the maximum number of parameters.

Return Value

Type: System.Int32

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
);

Permissions

See Also

Reference

IVsParseCommandLine Interface

IVsParseCommandLine Members

Microsoft.VisualStudio.Shell.Interop Namespace