IOleInPlaceActiveObject.TranslateAccelerator Method
Namespace: Microsoft.VisualStudio.OLE.Interop
Assembly: Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)
Syntax
'宣言
Function TranslateAccelerator ( _
lpmsg As MSG() _
) As Integer
'使用
Dim instance As IOleInPlaceActiveObject
Dim lpmsg As MSG()
Dim returnValue As Integer
returnValue = instance.TranslateAccelerator(lpmsg)
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[]
Return Value
Type: System.Int32
Remarks
For information on the COM interface, see IOleInPlaceActiveObject::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.
See Also
Reference
IOleInPlaceActiveObject Interface