Partager via


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