Export (0) Print
Expand All

DataType Enumeration

Visual Studio 2008

Indicates the type of object in the Packet.

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

public enum DataType

Member nameDescription
InvalidTypeInvalid data type or end of packet (EOP). Usually means you have reached the end of packet and there is no more data.
ByteTypeThe next byte in packet is of type Byte.
Int32TypeThe next byte in packet is of type Int32.
CharTypeThe next byte in packet is of type Char.
BoolTypeThe next byte in packet is of type Boolean.
ByteArrayTypeThe next byte in packet is of type Byte [].
StringTypeThe next byte in packet is of type String.

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

Community Additions

ADD
Show:
© 2014 Microsoft