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

'Declaration
Function ParseCommandTail ( _
    szCommandTail As String, _
    iMaxParams As Integer _
) As Integer
int ParseCommandTail(
    string szCommandTail,
    int iMaxParams
)
int ParseCommandTail(
    [InAttribute] String^ szCommandTail, 
    [InAttribute] int iMaxParams
)
abstract ParseCommandTail : 
        szCommandTail:string * 
        iMaxParams:int -> int
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
);

.NET Framework Security

See Also

Reference

IVsParseCommandLine Interface

Microsoft.VisualStudio.Shell.Interop Namespace