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
public MimePart Load (
    Stream stream,
    CachingMode cachingMode
)
public:
MimePart^ Load (
    Stream^ stream, 
    CachingMode cachingMode
)
public MimePart Load (
    Stream stream, 
    CachingMode cachingMode
)
public function Load (
    stream : Stream, 
    cachingMode : CachingMode
) : MimePart

Parameters

  • stream
    A stream that contains the MIME data to load into this MimeDocument object.
  • cachingMode
    A CachingMode enumeration value that controls the treatment of the input MIME stream.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003,

Target Platforms

Windows Server 2003