Visual Basic (Declaration) | |
---|---|
Public ReadOnly Property Bytes As Byte() |
Visual Basic (Usage) | ![]() |
---|---|
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(); } |
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.
Target Platforms: Microsoft .NET Framework 2.0