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
- 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.