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


IToolKeys.OverrideKey Method (ArcObjects .NET 10.5 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,
  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

Product Availability

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

See Also

IToolKeys Interface