SharpMimeTools Documented Class Library

SharpMimeHeader.GetHeaderField Method 

[This is preliminary documentation and subject to change.]

Returns the requested header field body.

public string GetHeaderField(
   string name,
   string defaultvalue,
   bool uncomment,
   bool rfc2047decode
);

Parameters

name
Header field name
defaultvalue
Value to return when the requested field is not present
uncomment
true to uncomment using uncommentString; false to return the value unchanged.
rfc2047decode
true to decode rfc2047decode; false to return the value unchanged.

Return Value

Header field body

See Also

SharpMimeHeader Class | anmar.SharpMimeTools Namespace