Freigeben über


IVsCommandArgInfo.QueryCommandArgAvailable(Int32) Method

Definition

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

public:
 int QueryCommandArgAvailable([Runtime::InteropServices::Out] int % pfCmdArgAvailable);
int QueryCommandArgAvailable([Runtime::InteropServices::Out] int & pfCmdArgAvailable);
public int QueryCommandArgAvailable (out int pfCmdArgAvailable);
abstract member QueryCommandArgAvailable : int -> int
Public Function QueryCommandArgAvailable (ByRef pfCmdArgAvailable As Integer) As Integer

Parameters

pfCmdArgAvailable
Int32

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

Returns

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  
);  

Applies to