InputMode

Sets or returns the type of data retrieved by the Input property.

Syntax

object.InputMode [ = value ]

The parts of the InputMode property syntax are described in the following table.

Part Description
object An object expression that evaluates to an object.
value A value or constant that specifies the input mode, as described in Settings.

Settings

The settings for value are described in the following table.

Value Description
0 (Default) Data is retrieved through the Input property as text.
1 Data is retrieved through the Input property as binary data.

Remarks

The InputMode property determines how data will be retrieved through the Input property. The data will either be retrieved as string or as binary data in a byte array.

Use 0 for data that uses the ANSI character set. Use 1 for all other data such as data that has embedded control characters, null characters, etc.