DataType Enumeration
Indicates the type of data in the Microsoft.SmartDevice.DeviceAgentTransport.IPacket.
Namespace: Microsoft.SmartDevice.DeviceAgentTransport
Assembly: Microsoft.SmartDevice.DeviceAgentTransport (in Microsoft.SmartDevice.DeviceAgentTransport.dll)
Syntax
'Declaration
<GuidAttribute("CAE2339D-C752-4365-B987-E5E452E77A61")> _
Public Enumeration DataType
'Usage
Dim instance As DataType
[GuidAttribute("CAE2339D-C752-4365-B987-E5E452E77A61")]
public enum DataType
[GuidAttribute(L"CAE2339D-C752-4365-B987-E5E452E77A61")]
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 the packet is of type Byte. | |
Int32Type | The next byte in the packet is of type Int32. | |
CharType | The next byte in the packet is of type Char. | |
BoolType | The next byte the in packet is of type Boolean. | |
ByteArrayType | The next byte in the packet is of type Byte []. | |
StringType | The next byte in the packet is of type String. |
Remarks
This enumeration is used by IPacket.ReadDataType to indicate the type of data in the packet.