UITestActionExecutor.ReleaseModifierKeys Method (UITechnologyElement, ModifierKeys)
Releases the given modifier keys that was pressed using PressModifierKeys.
Namespace: Microsoft.VisualStudio.TestTools.UITesting
Assembly: Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
Syntax
'Declaration
Public MustOverride Sub ReleaseModifierKeys ( _
control As UITechnologyElement, _
keys As ModifierKeys _
)
public abstract void ReleaseModifierKeys(
UITechnologyElement control,
ModifierKeys keys
)
public:
virtual void ReleaseModifierKeys(
UITechnologyElement^ control,
ModifierKeys keys
) abstract
abstract ReleaseModifierKeys :
control:UITechnologyElement *
keys:ModifierKeys -> unit
public abstract function ReleaseModifierKeys(
control : UITechnologyElement,
keys : ModifierKeys
)
Parameters
control
Type: Microsoft.VisualStudio.TestTools.UITest.Extension.UITechnologyElementThe control to which the key release (up) is sent.
keys
Type: ModifierKeysThe modifier keys to release.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.