This property sets and returns the type of data retrieved by the Input property.
object.InputMode [= value]
Constant |
Value |
Description |
comInputModeText | 0 (default) | Data is retrieved through the Input property as text |
comInputModeBinary | 1 | Data is retrieved through the Input property as binary data |
The InputMode property determines how data will be retrieved through the Input property. The data will be retrieved either as string or as binary data in a byte array.
Use 0 for data that uses the ASCII character set. Use 1 for all other data such as data that has embedded control characters, null characters, and so on.