Click or drag to resize

InputClientDispatchKeyEventAsync Method

Version 86.0.240

[Missing <summary> documentation for "M:CefSharp.DevTools.Input.InputClient.DispatchKeyEventAsync(System.String,System.Nullable{System.Int32},System.Nullable{System.Int64},System.String,System.String,System.String,System.String,System.String,System.Nullable{System.Int32},System.Nullable{System.Int32},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Int32},System.String[])"]

Namespace:  CefSharp.DevTools.Input
Assembly:  CefSharp (in CefSharp.dll) Version: 86.0.240.0 (86.0.240.0)
Syntax
public Task<DevToolsMethodResponse> DispatchKeyEventAsync(
	string type,
	Nullable<int> modifiers = null,
	Nullable<long> timestamp = null,
	string text = null,
	string unmodifiedText = null,
	string keyIdentifier = null,
	string code = null,
	string key = null,
	Nullable<int> windowsVirtualKeyCode = null,
	Nullable<int> nativeVirtualKeyCode = null,
	Nullable<bool> autoRepeat = null,
	Nullable<bool> isKeypad = null,
	Nullable<bool> isSystemKey = null,
	Nullable<int> location = null,
	string[] commands = null
)

Parameters

type
Type: SystemString

[Missing <param name="type"/> documentation for "M:CefSharp.DevTools.Input.InputClient.DispatchKeyEventAsync(System.String,System.Nullable{System.Int32},System.Nullable{System.Int64},System.String,System.String,System.String,System.String,System.String,System.Nullable{System.Int32},System.Nullable{System.Int32},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Int32},System.String[])"]

modifiers (Optional)
Type: SystemNullableInt32

[Missing <param name="modifiers"/> documentation for "M:CefSharp.DevTools.Input.InputClient.DispatchKeyEventAsync(System.String,System.Nullable{System.Int32},System.Nullable{System.Int64},System.String,System.String,System.String,System.String,System.String,System.Nullable{System.Int32},System.Nullable{System.Int32},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Int32},System.String[])"]

timestamp (Optional)
Type: SystemNullableInt64

[Missing <param name="timestamp"/> documentation for "M:CefSharp.DevTools.Input.InputClient.DispatchKeyEventAsync(System.String,System.Nullable{System.Int32},System.Nullable{System.Int64},System.String,System.String,System.String,System.String,System.String,System.Nullable{System.Int32},System.Nullable{System.Int32},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Int32},System.String[])"]

text (Optional)
Type: SystemString

[Missing <param name="text"/> documentation for "M:CefSharp.DevTools.Input.InputClient.DispatchKeyEventAsync(System.String,System.Nullable{System.Int32},System.Nullable{System.Int64},System.String,System.String,System.String,System.String,System.String,System.Nullable{System.Int32},System.Nullable{System.Int32},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Int32},System.String[])"]

unmodifiedText (Optional)
Type: SystemString

[Missing <param name="unmodifiedText"/> documentation for "M:CefSharp.DevTools.Input.InputClient.DispatchKeyEventAsync(System.String,System.Nullable{System.Int32},System.Nullable{System.Int64},System.String,System.String,System.String,System.String,System.String,System.Nullable{System.Int32},System.Nullable{System.Int32},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Int32},System.String[])"]

keyIdentifier (Optional)
Type: SystemString

[Missing <param name="keyIdentifier"/> documentation for "M:CefSharp.DevTools.Input.InputClient.DispatchKeyEventAsync(System.String,System.Nullable{System.Int32},System.Nullable{System.Int64},System.String,System.String,System.String,System.String,System.String,System.Nullable{System.Int32},System.Nullable{System.Int32},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Int32},System.String[])"]

code (Optional)
Type: SystemString

[Missing <param name="code"/> documentation for "M:CefSharp.DevTools.Input.InputClient.DispatchKeyEventAsync(System.String,System.Nullable{System.Int32},System.Nullable{System.Int64},System.String,System.String,System.String,System.String,System.String,System.Nullable{System.Int32},System.Nullable{System.Int32},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Int32},System.String[])"]

key (Optional)
Type: SystemString

[Missing <param name="key"/> documentation for "M:CefSharp.DevTools.Input.InputClient.DispatchKeyEventAsync(System.String,System.Nullable{System.Int32},System.Nullable{System.Int64},System.String,System.String,System.String,System.String,System.String,System.Nullable{System.Int32},System.Nullable{System.Int32},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Int32},System.String[])"]

windowsVirtualKeyCode (Optional)
Type: SystemNullableInt32

[Missing <param name="windowsVirtualKeyCode"/> documentation for "M:CefSharp.DevTools.Input.InputClient.DispatchKeyEventAsync(System.String,System.Nullable{System.Int32},System.Nullable{System.Int64},System.String,System.String,System.String,System.String,System.String,System.Nullable{System.Int32},System.Nullable{System.Int32},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Int32},System.String[])"]

nativeVirtualKeyCode (Optional)
Type: SystemNullableInt32

[Missing <param name="nativeVirtualKeyCode"/> documentation for "M:CefSharp.DevTools.Input.InputClient.DispatchKeyEventAsync(System.String,System.Nullable{System.Int32},System.Nullable{System.Int64},System.String,System.String,System.String,System.String,System.String,System.Nullable{System.Int32},System.Nullable{System.Int32},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Int32},System.String[])"]

autoRepeat (Optional)
Type: SystemNullableBoolean

[Missing <param name="autoRepeat"/> documentation for "M:CefSharp.DevTools.Input.InputClient.DispatchKeyEventAsync(System.String,System.Nullable{System.Int32},System.Nullable{System.Int64},System.String,System.String,System.String,System.String,System.String,System.Nullable{System.Int32},System.Nullable{System.Int32},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Int32},System.String[])"]

isKeypad (Optional)
Type: SystemNullableBoolean

[Missing <param name="isKeypad"/> documentation for "M:CefSharp.DevTools.Input.InputClient.DispatchKeyEventAsync(System.String,System.Nullable{System.Int32},System.Nullable{System.Int64},System.String,System.String,System.String,System.String,System.String,System.Nullable{System.Int32},System.Nullable{System.Int32},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Int32},System.String[])"]

isSystemKey (Optional)
Type: SystemNullableBoolean

[Missing <param name="isSystemKey"/> documentation for "M:CefSharp.DevTools.Input.InputClient.DispatchKeyEventAsync(System.String,System.Nullable{System.Int32},System.Nullable{System.Int64},System.String,System.String,System.String,System.String,System.String,System.Nullable{System.Int32},System.Nullable{System.Int32},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Int32},System.String[])"]

location (Optional)
Type: SystemNullableInt32

[Missing <param name="location"/> documentation for "M:CefSharp.DevTools.Input.InputClient.DispatchKeyEventAsync(System.String,System.Nullable{System.Int32},System.Nullable{System.Int64},System.String,System.String,System.String,System.String,System.String,System.Nullable{System.Int32},System.Nullable{System.Int32},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Int32},System.String[])"]

commands (Optional)
Type: SystemString

[Missing <param name="commands"/> documentation for "M:CefSharp.DevTools.Input.InputClient.DispatchKeyEventAsync(System.String,System.Nullable{System.Int32},System.Nullable{System.Int64},System.String,System.String,System.String,System.String,System.String,System.Nullable{System.Int32},System.Nullable{System.Int32},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Int32},System.String[])"]

Return Value

Type: TaskDevToolsMethodResponse

[Missing <returns> documentation for "M:CefSharp.DevTools.Input.InputClient.DispatchKeyEventAsync(System.String,System.Nullable{System.Int32},System.Nullable{System.Int64},System.String,System.String,System.String,System.String,System.String,System.Nullable{System.Int32},System.Nullable{System.Int32},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Int32},System.String[])"]

See Also