IVsDocOutlineProvider2.TranslateAccelerator Method
Processes a Windows message related to accelerator keys.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
'Declaration
Function TranslateAccelerator ( _
lpMsg As MSG() _
) As Integer
int TranslateAccelerator(
MSG[] lpMsg
)
int TranslateAccelerator(
[InAttribute] array<MSG>^ lpMsg
)
abstract TranslateAccelerator :
lpMsg:MSG[] -> int
function TranslateAccelerator(
lpMsg : MSG[]
) : int
Parameters
- lpMsg
Type: array<Microsoft.VisualStudio.OLE.Interop.MSG[]
[in] Pointer to the Windows message to process.
Return Value
Type: System.Int32
When implementing, return S_OK if the message was processed and requires no further translation; otherwise, return S_FALSE if you want the shell to translate the message.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.