Compartilhar via


IVsProfferCommands3.RenameNamedCommand(String, String, String) Method

Definition

Renames a named command.

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

Parameters

pszCmdNameCanonical
String

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

pszCmdNameCanonicalNew
String

[in] The new canonical name.

pszCmdNameLocalizedNew
String

[in] The new localized canonical name. May be null.

Returns

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

Applies to