Compartir a través de


IVsCommandArgInfo.QueryCommandArgAvailable Method

Indicates whether a nonempty command argument was supplied for this command.

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

Syntax

'Declaration
Function QueryCommandArgAvailable ( _
    <OutAttribute> ByRef pfCmdArgAvailable As Integer _
) As Integer
int QueryCommandArgAvailable(
    out int pfCmdArgAvailable
)
int QueryCommandArgAvailable(
    [OutAttribute] int% pfCmdArgAvailable
)
abstract QueryCommandArgAvailable : 
        pfCmdArgAvailable:int byref -> int
function QueryCommandArgAvailable(
    pfCmdArgAvailable : int
) : int

Parameters

  • pfCmdArgAvailable
    Type: Int32%

    [out] Returns true if a nonempty command argument was supplied.

Return Value

Type: Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsCommandArgInfo::QueryCommandArgAvailable(
   [out] BOOL* pfCmdArgAvailable
);

.NET Framework Security

See Also

Reference

IVsCommandArgInfo Interface

Microsoft.VisualStudio.Shell.Interop Namespace