This topic has not yet been rated - Rate this topic

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.

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.