Freigeben über


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 _
)
public void WriteHeader (
    string name,
    string value
)
public:
void WriteHeader (
    String^ name, 
    String^ value
)
public void WriteHeader (
    String name, 
    String value
)
public function WriteHeader (
    name : String, 
    value : String
)

Parameters

  • name
    A string containing the name of the header to write.
  • value
    A string containing the value of the header that will be written.

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