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


IToolKeys.OverrideKey Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (SystemUI)  

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