IOleInPlaceFrame.TranslateAccelerator Method
Namespace: Microsoft.VisualStudio.OLE.Interop
Assembly: Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)
Syntax
'Declaration
Function TranslateAccelerator ( _
lpmsg As MSG(), _
wID As UShort _
) As Integer
int TranslateAccelerator(
MSG[] lpmsg,
ushort wID
)
int TranslateAccelerator(
[InAttribute] array<MSG>^ lpmsg,
[InAttribute] unsigned short wID
)
abstract TranslateAccelerator :
lpmsg:MSG[] *
wID:uint16 -> int
function TranslateAccelerator(
lpmsg : MSG[],
wID : ushort
) : int
Parameters
- lpmsg
Type: array<Microsoft.VisualStudio.OLE.Interop.MSG[]
- wID
Type: UInt16
Return Value
Type: Int32
Remarks
For information on the COM interface, see IOleInPlaceFrame::TranslateAccelerator
.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.