Partager via


WpfUIElement.TranslateAccelerator Method

This member overrides UIElement.TranslateAccelerator(IVsUIAccelerator).

Namespace:  Microsoft.Internal.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)

Syntax

'Déclaration
Public Overrides Function TranslateAccelerator ( _
    pAccel As IVsUIAccelerator _
) As Integer
'Utilisation
Dim instance As WpfUIElement
Dim pAccel As IVsUIAccelerator
Dim returnValue As Integer

returnValue = instance.TranslateAccelerator(pAccel)
public override int TranslateAccelerator(
    IVsUIAccelerator pAccel
)
public:
virtual int TranslateAccelerator(
    IVsUIAccelerator^ pAccel
) override
abstract TranslateAccelerator : 
        pAccel:IVsUIAccelerator -> int 
override TranslateAccelerator : 
        pAccel:IVsUIAccelerator -> int 
public override function TranslateAccelerator(
    pAccel : IVsUIAccelerator
) : int

Parameters

Return Value

Type: System.Int32

Implements

IVsUIElement.TranslateAccelerator(IVsUIAccelerator)

.NET Framework Security

See Also

Reference

WpfUIElement Class

WpfUIElement Members

Microsoft.Internal.VisualStudio.PlatformUI Namespace