Share via


IVsProfferCommands3.RemoveNamedCommand(String) Method

Definition

Removes a named command.

public:
 int RemoveNamedCommand(System::String ^ pszCmdNameCanonical);
public:
 int RemoveNamedCommand(Platform::String ^ pszCmdNameCanonical);
int RemoveNamedCommand(std::wstring const & pszCmdNameCanonical);
public int RemoveNamedCommand (string pszCmdNameCanonical);
abstract member RemoveNamedCommand : string -> int
Public Function RemoveNamedCommand (pszCmdNameCanonical As String) As Integer

Parameters

pszCmdNameCanonical
String

[in] The canonical (fully-qualified) name of the command to remove.

Returns

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

Applies to