IVsCommandArgInfo.QueryCommandArgAvailable Method

Returns true if 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

‘선언
Function QueryCommandArgAvailable ( _
    <OutAttribute> ByRef pfCmdArgAvailable As Integer _
) As Integer
‘사용 방법
Dim instance As IVsCommandArgInfo
Dim pfCmdArgAvailable As Integer
Dim returnValue As Integer

returnValue = instance.QueryCommandArgAvailable(pfCmdArgAvailable)
int QueryCommandArgAvailable(
    out int pfCmdArgAvailable
)
int QueryCommandArgAvailable(
    [OutAttribute] int% pfCmdArgAvailable
)
abstract QueryCommandArgAvailable : 
        pfCmdArgAvailable:int byref -> int 
function QueryCommandArgAvailable(
    pfCmdArgAvailable : int
) : int

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 IVsCommandArgInfo::QueryCommandArgAvailable(
   [out] BOOL* pfCmdArgAvailable
);

.NET Framework Security

See Also

Reference

IVsCommandArgInfo Interface

IVsCommandArgInfo Members

Microsoft.VisualStudio.Shell.Interop Namespace