Compartilhar via


IVsCommandArgInfo.GetCommandArg(String) Method

Definition

Returns the argument string.

public:
 int GetCommandArg([Runtime::InteropServices::Out] System::String ^ % pbstrCmdArg);
int GetCommandArg([Runtime::InteropServices::Out] std::wstring const & & pbstrCmdArg);
public int GetCommandArg (out string pbstrCmdArg);
abstract member GetCommandArg : string -> int
Public Function GetCommandArg (ByRef pbstrCmdArg As String) As Integer

Parameters

pbstrCmdArg
String

[out] The command argument string.

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::GetCommandArg(  
   [out] BSTR* pbstrCmdArg  
);  

Applies to