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 _
)
public void WriteHeader (
HeaderId headerId,
string value
)
public:
void WriteHeader (
HeaderId headerId,
String^ value
)
public void WriteHeader (
HeaderId headerId,
String value
)
public function WriteHeader (
headerId : HeaderId,
value : String
)
Parameters
- headerId
A HeaderId enumeration value indicating the kind of 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