C# Класс Binarysharp.MemoryManagement.Windows.Keyboard.BaseKeyboard

Abstract class defining a virtual keyboard.
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
PressedKeys Keys>>.List
Window RemoteWindow

Открытые методы

Метод Описание
Press ( Keys key ) : void

Presses the specified virtual key to the window.

Press ( Keys key, TimeSpan interval ) : void

Presses the specified virtual key to the window at a specified interval.

PressRelease ( Keys key ) : void

Presses and releaes the specified virtual key to the window.

Release ( Keys key ) : void

Releases the specified virtual key to the window.

Write ( char character ) : void

Writes the specified character to the window.

Write ( string text ) : void

Writes the text representation of the specified array of objects to the window using the specified format information.

Защищенные методы

Метод Описание
BaseKeyboard ( RemoteWindow window ) : System

Initializes a new instance of a child of the BaseKeyboard class.

Описание методов

BaseKeyboard() защищенный Метод

Initializes a new instance of a child of the BaseKeyboard class.
protected BaseKeyboard ( RemoteWindow window ) : System
window RemoteWindow The reference of the object.
Результат System

Press() публичный абстрактный Метод

Presses the specified virtual key to the window.
public abstract Press ( Keys key ) : void
key Keys The virtual key to press.
Результат void

Press() публичный Метод

Presses the specified virtual key to the window at a specified interval.
public Press ( Keys key, TimeSpan interval ) : void
key Keys The virtual key to press.
interval TimeSpan The interval between the key activations.
Результат void

PressRelease() публичный Метод

Presses and releaes the specified virtual key to the window.
public PressRelease ( Keys key ) : void
key Keys The virtual key to press and release.
Результат void

Release() публичный Метод

Releases the specified virtual key to the window.
public Release ( Keys key ) : void
key Keys The virtual key to release.
Результат void

Write() публичный абстрактный Метод

Writes the specified character to the window.
public abstract Write ( char character ) : void
character char The character to write.
Результат void

Write() публичный Метод

Writes the text representation of the specified array of objects to the window using the specified format information.
public Write ( string text ) : void
text string A composite format string.
Результат void

Описание свойств

PressedKeys защищенное статическое свойство

The collection storing the current pressed keys.
protected static List> PressedKeys
Результат Keys>>.List

Window защищенное свойство

The reference of the RemoteWindow object.
protected RemoteWindow Window
Результат RemoteWindow