次の方法で共有


IVsUserContextItem.Command(String) Method

Definition

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

Applies to