Suoranta.Speech - Developer API

IWinFormsSpeechContext..::..Hook Method (Button, String)

Hooks Click of button to keyword.

Namespace:  Suoranta.NaturalLanguage.Speech
Assembly:  Suoranta.Speech (in Suoranta.Speech.dll)

Syntax


IWinFormsSpeechContext Hook(
	Button button,
	string keyword
)

Parameters

button
Type: Button
the current Button instance
keyword
Type: String
the spoken command keyword

Return Value

the IWinFormsSpeechContext instance