This document is archived and information here might be outdated.  Recommended version.


IToolKeys.OverrideKey Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > SystemUI > ESRI.ArcGIS.SystemUI > Interfaces > IT > IToolKeys Interface > IToolKeys.OverrideKey Method
ArcGIS Developer Help

IToolKeys.OverrideKey Method

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
);
[C++]
Parameters
keyCode [in]

keyCode is a parameter of type long shift [in]
shift is a parameter of type long

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IToolKeys Interface