PowerTCP Mail for .NET
Content Property
See Also  Send comments on this topic.
Dart.PowerTCP.Mail Namespace > MessagePartStream 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 MemoryStream
Visual Basic (Usage)Copy Code
Dim instance As MessagePartStream
Dim value As MemoryStream
 
value = instance.Content
C# 
public MemoryStream Content {get;}
Managed Extensions for C++ 
public: __property MemoryStream* get_Content();
C++/CLI 
public:
property MemoryStream^ Content {
   MemoryStream^ 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.