IVsCommandArgInfo.QueryCommandArgAvailable(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
);