Dela via


DataType Enumeration

Indicates the type of object in the Packet.

Namespace:  Microsoft.SmartDevice.Connectivity
Assembly:  Microsoft.SmartDevice.Connectivity (in Microsoft.SmartDevice.Connectivity.dll)

Syntax

'Declaration
Public Enumeration DataType
'Usage
Dim instance As DataType
public enum DataType
public enum class DataType
public enum DataType

Members

Member name Description
InvalidType Invalid data type or end of packet (EOP). Usually means you have reached the end of packet and there is no more data.
ByteType The next byte in packet is of type Byte.
Int32Type The next byte in packet is of type Int32.
CharType The next byte in packet is of type Char.
BoolType The next byte in packet is of type Boolean.
ByteArrayType The next byte in packet is of type Byte [].
StringType The next byte in packet is of type String.

Remarks

This enumeration is used by the Packet class to indicate the type of data in the packet.

See Also

Reference

Microsoft.SmartDevice.Connectivity Namespace