Udostępnij za pośrednictwem


WindowPane.IVsWindowPane.TranslateAccelerator(MSG[]) Method

Definition

Caution

The IVsWindowPane interface on the WindowPane is obsolete, use IVsUIElementPane

Handles the translation of navigation keys. Obsolete

 virtual int Microsoft.VisualStudio.Shell.Interop.IVsWindowPane.TranslateAccelerator(cli::array <Microsoft::VisualStudio::OLE::Interop::MSG> ^ lpmsg) = Microsoft::VisualStudio::Shell::Interop::IVsWindowPane::TranslateAccelerator;
int Microsoft.VisualStudio.Shell.Interop.IVsWindowPane.TranslateAccelerator(std::Array <Microsoft::VisualStudio::OLE::Interop::MSG> const & lpmsg);
[System.Obsolete("The IVsWindowPane interface on the WindowPane is obsolete, use IVsUIElementPane")]
int IVsWindowPane.TranslateAccelerator (Microsoft.VisualStudio.OLE.Interop.MSG[] lpmsg);
[<System.Obsolete("The IVsWindowPane interface on the WindowPane is obsolete, use IVsUIElementPane")>]
abstract member Microsoft.VisualStudio.Shell.Interop.IVsWindowPane.TranslateAccelerator : Microsoft.VisualStudio.OLE.Interop.MSG[] -> int
override this.Microsoft.VisualStudio.Shell.Interop.IVsWindowPane.TranslateAccelerator : Microsoft.VisualStudio.OLE.Interop.MSG[] -> int
Function TranslateAccelerator (lpmsg As MSG()) As Integer Implements IVsWindowPane.TranslateAccelerator

Parameters

lpmsg
MSG[]

An array of MSG structures that contain the character or character combination to be translated.

Returns

If this method succeeds, it returns S_OK; if it fails, it returns E_FAIL.

Implements

Attributes

Remarks

The <xref:Microsoft.VisualStudio.Shell.Interop.>IVsWindowPane.TranslateAccelerator interface on this class is obsolete. Please use <xref:Microsoft.VisualStudio.Shell.Interop.>IVsWindowPane.TranslateAccelerator instead.

Applies to