Partager via


UIElement.TranslateAccelerator Method

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

Syntax

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

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

Parameters

Return Value

Type: System.Int32

Implements

IVsUIElement.TranslateAccelerator(IVsUIAccelerator)

.NET Framework Security

See Also

Reference

UIElement Class

UIElement Members

Microsoft.Internal.VisualStudio.PlatformUI Namespace