Keyboard Class
Dans cet article
Contains static methods for performing keyboard actions.
Inheritance Hierarchy
Object
Microsoft.VisualStudio.TestTools.UITesting.Keyboard
Namespace: Microsoft.VisualStudio.TestTools.UITesting
Assemblies: Microsoft.VisualStudio.TestTools.WindowsStore.UITesting (in Microsoft.VisualStudio.TestTools.WindowsStore.UITesting.dll)
Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
Syntax
'Declaration
<CLSCompliantAttribute(True)> _
Public Class Keyboard _
Implements IDisposable
[CLSCompliantAttribute(true)]
public class Keyboard : IDisposable
[CLSCompliantAttribute(true)]
public ref class Keyboard : IDisposable
[<CLSCompliantAttribute(true)>]
type Keyboard =
class
interface IDisposable
end
public class Keyboard implements IDisposable
The Keyboard type exposes the following members.
Constructors
Top
Properties
Top
Methods
Dispose()
Dispose(Boolean)
Equals
Determines whether the specified object is equal to the current object. (Inherited from Object.)
Finalize
(Overrides Object.Finalize.)
GetHashCode
Serves as the default hash function. (Inherited from Object.)
GetType
Gets the Type of the current instance. (Inherited from Object.)
MemberwiseClone
Creates a shallow copy of the current Object . (Inherited from Object.)
PressModifierKeys(ModifierKeys)
PressModifierKeys(ModifierKeys)
PressModifierKeys(UITestControl, ModifierKeys)
PressModifierKeys(UITestControl, ModifierKeys)
PressModifierKeysImplementation(UITestControl, ModifierKeys)
PressModifierKeysImplementation(UITestControl, ModifierKeys)
ReleaseModifierKeys(ModifierKeys)
ReleaseModifierKeys(ModifierKeys)
ReleaseModifierKeys(UITestControl, ModifierKeys)
ReleaseModifierKeys(UITestControl, ModifierKeys)
ReleaseModifierKeysImplementation(UITestControl, ModifierKeys)
ReleaseModifierKeysImplementation(UITestControl, ModifierKeys)
SendKeys(String)
SendKeys(String, ModifierKeys)
SendKeys(String, Boolean)
SendKeys(String, ModifierKeys)
SendKeys(UITestControl, String)
SendKeys(String, ModifierKeys, Boolean)
SendKeys(String, ModifierKeys, Boolean)
SendKeys(UITestControl, String, ModifierKeys)
SendKeys(UITestControl, String, Boolean)
SendKeys(UITestControl, String, ModifierKeys)
SendKeys(String, ModifierKeys, Boolean, Boolean)
SendKeys(String, ModifierKeys, Boolean, Boolean)
SendKeys(UITestControl, String, ModifierKeys, Boolean)
SendKeys(UITestControl, String, ModifierKeys, Boolean)
SendKeys(UITestControl, String, ModifierKeys, Boolean, Boolean)
SendKeys(UITestControl, String, ModifierKeys, Boolean, Boolean)
SendKeysImplementation(UITestControl, String, ModifierKeys, Boolean, Boolean)
SendKeysImplementation(UITestControl, String, ModifierKeys, Boolean, Boolean)
ToString
Returns a string that represents the current object. (Inherited from Object.)
Top
No content here will be updated; please do not add material here.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Reference
Microsoft.VisualStudio.TestTools.UITesting Namespace