PowerTCP Mail for .NET
ToArray Method
See Also  Send comments on this topic.
Dart.PowerTCP.Mail Namespace > MessageStream Class : ToArray Method




Returns a byte array representation of the encoded message.

Syntax

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.

Remarks

This method is provided as a shortcut method to get the encoded message as an array of bytes.

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

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