IOleInPlaceFrame.TranslateAccelerator Method
Namespace: Microsoft.VisualStudio.OLE.Interop
Assembly: Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)
Syntax
声明
Function TranslateAccelerator ( _
lpmsg As MSG(), _
wID As UShort _
) As Integer
用法
Dim instance As IOleInPlaceFrame
Dim lpmsg As MSG()
Dim wID As UShort
Dim returnValue As Integer
returnValue = instance.TranslateAccelerator(lpmsg, _
wID)
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: System.UInt16
Return Value
Type: System.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.