JAMS Developer Guide
IsInputKey Method (AgentCtl)


MVPSI.JAMS Namespace > AgentCtl Class : IsInputKey Method
Syntax
'Declaration
 
<System.Security.Permissions.UIPermissionAttribute(Window=UIPermissionWindow.SafeSubWindows Or  _
    UIPermissionWindow.SafeTopLevelWindows Or  _
    UIPermissionWindow.AllWindows, 
   Clipboard=UIPermissionClipboard.NoClipboard, 
   Action=SecurityAction.Demand Or  _
    SecurityAction.Assert Or  _
    SecurityAction.Deny Or  _
    SecurityAction.PermitOnly Or  _
    SecurityAction.LinkDemand Or  _
    SecurityAction.InheritanceDemand, 
   Unrestricted=False)>
Protected Overridable Function IsInputKey( _
   ByVal keyData As System.Windows.Forms.Keys _
) As System.Boolean
'Usage
 
Dim instance As AgentCtl
Dim keyData As System.Windows.Forms.Keys
Dim value As System.Boolean
 
value = instance.IsInputKey(keyData)
[System.Security.Permissions.UIPermission(Window=UIPermissionWindow.SafeSubWindows | 
    UIPermissionWindow.SafeTopLevelWindows | 
    UIPermissionWindow.AllWindows, 
   Clipboard=UIPermissionClipboard.NoClipboard, 
   Action=SecurityAction.Demand | 
    SecurityAction.Assert | 
    SecurityAction.Deny | 
    SecurityAction.PermitOnly | 
    SecurityAction.LinkDemand | 
    SecurityAction.InheritanceDemand, 
   Unrestricted=false)]
protected virtual System.bool IsInputKey( 
   System.Windows.Forms.Keys keyData
)

Parameters

keyData
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

AgentCtl Class
AgentCtl Members