Partager via


MimeWriter.WriteContent Method (Byte[], Int32, Int32)

The WriteContent method writes data from a buffer into the stream that this MimeWriter object owns.

Namespace:  Microsoft.Exchange.Data.Mime
Assembly:  Microsoft.Exchange.Data.Common (in Microsoft.Exchange.Data.Common.dll)

Syntax

'Declaration
Public Sub WriteContent ( _
    buffer As Byte(), _
    offset As Integer, _
    count As Integer _
)
'Usage
Dim instance As MimeWriter
Dim buffer As Byte()
Dim offset As Integer
Dim count As Integer

instance.WriteContent(buffer, offset, _
    count)
public void WriteContent(
    byte[] buffer,
    int offset,
    int count
)

Parameters

  • buffer
    Type: []
    A byte array containing data to write to the stream that this MimeWriter owns.
  • offset
    Type: System.Int32
    An integer indicating where in buffer to begin reading data.
  • count
    Type: System.Int32
    An integer indicating the number of bytes to write from buffer into the stream that this MimeWriter owns.