| Visual Basic (Declaration) | |
|---|---|
Public Function ToArray() As Byte() | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As MessageStream Dim value() As Byte value = instance.ToArray() | |
| C# | |
|---|---|
public byte[] ToArray() | |
| Managed Extensions for C++ | |
|---|---|
public: byte[]* ToArray(); | |
| C++/CLI | |
|---|---|
public: array<byte>^ ToArray(); | |
Return Value
An array of bytes representing the encoded message.This method is provided as a shortcut method to get the encoded message as an array of bytes.
Target Platforms: Microsoft .NET Framework 2.0