MimeDocument.Load Method
The Load method loads a stream of Multipurpose Internet Mail Extensions (MIME) data into this MimeDocument object.
Namespace: Microsoft.Exchange.Data.Mime
Assembly: Microsoft.Exchange.Data.Common (in Microsoft.Exchange.Data.Common.dll)
Syntax
'Declaration
Public Function Load ( _
stream As Stream, _
cachingMode As CachingMode _
) As MimePart
'Usage
Dim instance As MimeDocument
Dim stream As Stream
Dim cachingMode As CachingMode
Dim returnValue As MimePart
returnValue = instance.Load(stream, cachingMode)
public MimePart Load(
Stream stream,
CachingMode cachingMode
)
Parameters
- stream
Type: System.IO.Stream
A stream that contains the MIME data to load into this MimeDocument object.
- cachingMode
Type: Microsoft.Exchange.Data.Mime.CachingMode
A CachingMode enumeration value that controls the treatment of the input MIME stream.