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

'宣言
Function GetCommandTail ( _
    <OutAttribute> ByRef pbstrCommandTail As String _
) As Integer
'使用
Dim instance As IVsParseCommandLine
Dim pbstrCommandTail As String
Dim returnValue As Integer

returnValue = instance.GetCommandTail(pbstrCommandTail)
int GetCommandTail(
    out string pbstrCommandTail
)
int GetCommandTail(
    [OutAttribute] String^% pbstrCommandTail
)
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
);

Permissions

See Also

Reference

IVsParseCommandLine Interface

IVsParseCommandLine Members

Microsoft.VisualStudio.Shell.Interop Namespace