IVsProfferCommands4::RenameNamedCommand Method (String^, String^, String^)

 

Renames a named command.

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

int RenameNamedCommand(
	String^ pszCmdNameCanonical,
	String^ pszCmdNameCanonicalNew,
	String^ pszCmdNameLocalizedNew
)

Parameters

pszCmdNameCanonical
Type: System::String^

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

pszCmdNameCanonicalNew
Type: System::String^

[in] The new canonical name.

pszCmdNameLocalizedNew
Type: System::String^

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

Return Value

Type: System::Int32

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

Return to top
Show: