Compartilhar via


IVsUIElement.TranslateAccelerator(IVsUIAccelerator) Method

Definition

Translates keyboard accelerators.

public:
 int TranslateAccelerator(Microsoft::VisualStudio::Shell::Interop::IVsUIAccelerator ^ pAccel);
public:
 int TranslateAccelerator(Microsoft::VisualStudio::Shell::Interop::IVsUIAccelerator ^ pAccel);
int TranslateAccelerator(Microsoft::VisualStudio::Shell::Interop::IVsUIAccelerator const & pAccel);
public int TranslateAccelerator (Microsoft.VisualStudio.Shell.Interop.IVsUIAccelerator pAccel);
abstract member TranslateAccelerator : Microsoft.VisualStudio.Shell.Interop.IVsUIAccelerator -> int
Public Function TranslateAccelerator (pAccel As IVsUIAccelerator) As Integer

Parameters

pAccel
IVsUIAccelerator

The accelerator.

Returns

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

Applies to