IVsUIElement.TranslateAccelerator Method
Namespace: Microsoft.VisualStudio.Shell.Interop
Assemblies: Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)
Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
'Declaración
Function TranslateAccelerator ( _
pAccel As IVsUIAccelerator _
) As Integer
'Uso
Dim instance As IVsUIElement
Dim pAccel As IVsUIAccelerator
Dim returnValue As Integer
returnValue = instance.TranslateAccelerator(pAccel)
int TranslateAccelerator(
IVsUIAccelerator pAccel
)
int TranslateAccelerator(
[InAttribute] IVsUIAccelerator^ pAccel
)
abstract TranslateAccelerator :
pAccel:IVsUIAccelerator -> int
function TranslateAccelerator(
pAccel : IVsUIAccelerator
) : int
Parameters
Return Value
Type: System.Int32
.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.