Share via


MimeWriter.WriteHeader method (HeaderId, String)

The WriteHeader method writes a header of a specified type and specified value to 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 WriteHeader ( _
    headerId As HeaderId, _
    value As String _
)
'Usage
Dim instance As MimeWriter
Dim headerId As HeaderId
Dim value As String

instance.WriteHeader(headerId, value)
public void WriteHeader(
    HeaderId headerId,
    string value
)

Parameters

  • value
    Type: System.String

    A string containing the value of the header that will be written.

See also

Reference

MimeWriter class

MimeWriter members

WriteHeader overload

Microsoft.Exchange.Data.Mime namespace