| Visual Basic (Declaration) | |
|---|---|
<DefaultValueAttribute()> <CategoryAttribute("Behavior")> Public Property UseMemoryStreams As Boolean | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As Imap Dim value As Boolean instance.UseMemoryStreams = value value = instance.UseMemoryStreams | |
| C# | |
|---|---|
[DefaultValueAttribute()] [CategoryAttribute("Behavior")] public bool UseMemoryStreams {get; set;} | |
| Managed Extensions for C++ | |
|---|---|
[DefaultValueAttribute()] [CategoryAttribute("Behavior")] public: __property bool get_UseMemoryStreams(); public: __property void set_UseMemoryStreams( bool value ); | |
| C++/CLI | |
|---|---|
[DefaultValueAttribute()] [CategoryAttribute("Behavior")] public: property bool UseMemoryStreams { bool get(); void set ( bool value); } | |
Property Value
true if attachments should be decoded and stored as MemoryStreams when a message is retrieved; false if they should be decoded and stored as files.When this property is true, all attachments of messages retrieved will automatically be decoded and saved as files in the system temp directory. This property is useful because it may be desirable to keep attachments in memory instead of writing them to the file system. A good example of this is in the case of web applications.
When this property is set to true, make sure that enough memory is available to hold all messages being downloaded.
Target Platforms: Microsoft .NET Framework 2.0
Copy Code