This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > SystemUI > ESRI.ArcGIS.SystemUI > Interfaces > IT > IToolKeys Interface > IToolKeys.OverrideKey Method (ArcObjects .NET 10.5 SDK) |
Indicate whether the specified key is handled by the tool.
[Visual Basic .NET] Public Function OverrideKey ( _ ByVal keyCode As Integer, _ ByVal shift As Integer _ ) As Boolean
[C#] public bool OverrideKey ( int keyCode, int shift );
[C++]
HRESULT OverrideKey(
long keyCode,
long shift,
VARIANT_BOOL* override
);
[C++]
Parameters keyCode [in] keyCode is a parameter of type long shift [in] shift is a parameter of type long override [out, retval] override is a parameter of type VARIANT_BOOL