PowerTCP Mail for .NET
Content Property
See Also  Send comments on this topic.
Dart.PowerTCP.Mail Namespace > AttachmentStream Class : Content Property




Returns a Stream object containing the data of the part represented by the Stream

Syntax

Visual Basic (Declaration) 
Public ReadOnly Property Content As Stream
Visual Basic (Usage)Copy Code
Dim instance As AttachmentStream
Dim value As Stream
 
value = instance.Content
C# 
public Stream Content {get;}
Managed Extensions for C++ 
public: __property Stream* get_Content();
C++/CLI 
public:
property Stream^ Content {
   Stream^ get();
}

Property Value

A Stream object containing the data of the part represented by the Stream.

Remarks

Use the Stream exposed by this property to write to or read from the AttachmentStream. If the Stream was created with UseMemoryStreams = true, this property will return a MemoryStream, otherwise, it will return a FileStream.

When using a MessagePartStream, this property returns the un-encoded text as a MemoryStream.

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

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