Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The SetContentStream method sets the content of this MimePart object.
Namespace: Microsoft.Exchange.Data.Mime
Assembly: Microsoft.Exchange.Data.Common (in Microsoft.Exchange.Data.Common.dll)
Syntax
'Declaration
Public Sub SetContentStream ( _
transferEncoding As String, _
contentStream As Stream, _
cachingMode As CachingMode _
)
'Usage
Dim instance As MimePart
Dim transferEncoding As String
Dim contentStream As Stream
Dim cachingMode As CachingMode
instance.SetContentStream(transferEncoding, _
contentStream, cachingMode)
public void SetContentStream(
string transferEncoding,
Stream contentStream,
CachingMode cachingMode
)
Parameters
transferEncoding
Type: System.StringA string that specifies the content transfer encoding to use when setting the content by using contentStream.
contentStream
Type: System.IO.StreamA stream that contains the content.
cachingMode
Type: Microsoft.Exchange.Data.Mime.CachingModeA CachingMode enumeration value that specifies how to treat contentStream.
Remarks
Only the standard content-transfer-encoding strings are supported.