| 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(); | |
Property Value
A Stream object containing the data of the part represented by the Stream.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.
Target Platforms: Microsoft .NET Framework 2.0
Copy Code