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
headerId
Type: Microsoft.Exchange.Data.Mime.HeaderIdA HeaderId enumeration value indicating the kind of header to write.
value
Type: System.StringA string containing the value of the header that will be written.