IVsInfoBarUIElement.TranslateAccelerator(IVsUIAccelerator) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.