IVsParseCommandLine.GetCommandTail Method

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

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

Syntax

'Declaration
Function GetCommandTail ( _
    <OutAttribute> ByRef pbstrCommandTail As String _
) As Integer
int GetCommandTail(
    out string pbstrCommandTail
)
int GetCommandTail(
    [OutAttribute] String^% pbstrCommandTail
)
abstract GetCommandTail : 
        pbstrCommandTail:string byref -> int
function GetCommandTail(
    pbstrCommandTail : String
) : int

Parameters

  • pbstrCommandTail
    Type: System.String%

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

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

.NET Framework Security

See Also

Reference

IVsParseCommandLine Interface

Microsoft.VisualStudio.Shell.Interop Namespace