PowerTCP Emulation for .NET CF
Bytes Property
See Also  Send comments on this topic.
Dart.Emulation Namespace > DataEventArgs Class : Bytes Property




Returns the data that was generated as the result of a key press.

Syntax

Visual Basic (Declaration) 
Public ReadOnly Property Bytes As Byte()
Visual Basic (Usage)Copy Code
Dim instance As DataEventArgs
Dim value() As Byte
 
value = instance.Bytes
C# 
public byte[] Bytes {get;}
Managed Extensions for C++ 
public: __property byte[]* get_Bytes();
C++/CLI 
public:
property array<byte>^ Bytes {
   array<byte>^ get();
}

Remarks

Often the data generated by a key press will simply be the byte representation of the character that was pressed. However, some single key presses can result in multiple character representations (as a result of internal mapping). You can access the data generated as the result of a key press via the this property.

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

Documentation Version 4.2
© 2010 Dart Communications. All Rights Reserved.