IVsCommandArgInfo::GetCommandArg Method (String^)

 

Returns the argument string.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

int GetCommandArg(
	[OutAttribute] String^% pbstrCmdArg
)

Parameters

pbstrCmdArg
Type: System::String^

[out] The command argument string.

Return Value

Type: System::Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

From vsshell.idl:

HRESULT IVsCommandArgInfo::GetCommandArg(
   [out] BSTR* pbstrCmdArg
);
Return to top
Show: