Share via


MimeWriter.WriteHeader method (String, 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 ( _
    name As String, _
    value As String _
)
'Usage
Dim instance As MimeWriter
Dim name As String
Dim value As String

instance.WriteHeader(name, value)
public void WriteHeader(
    string name,
    string value
)

Parameters

  • name
    Type: System.String

    A string containing the name of the header to write.

  • 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