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

Return Value

Type: System.Int32

Remarks

For information on the COM interface, see IOleInPlaceFrame::TranslateAccelerator

.NET Framework Security

See Also

Reference

IOleInPlaceFrame Interface

IOleInPlaceFrame Members

Microsoft.VisualStudio.OLE.Interop Namespace