IVsUserContextItem.Command(String) 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.
Outputs the F1 command's String value.
public:
int Command([Runtime::InteropServices::Out] System::String ^ % pbstrCommand);
int Command([Runtime::InteropServices::Out] std::wstring const & & pbstrCommand);
public int Command (out string pbstrCommand);
abstract member Command : string -> int
Public Function Command (ByRef pbstrCommand As String) As Integer
Parameters
- pbstrCommand
- String
[out] The String value of the F1 command.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From context.idl:
HRESULT IVsUserContextItem::Command(
[out, retval] BSTR * pbstrCommand
);