Parses header field from the specified value.
Declaration Syntax
C# | Visual Basic | Visual C++ | F# |
public static MIME_h_ContentType Parse( string value )
Public Shared Function Parse ( value As String ) As MIME_h_ContentType
public: static MIME_h_ContentType^ Parse( String^ value )
static member Parse : value : string -> MIME_h_ContentType
Parameters
- value (String)
- Header field value. Header field name must be included. For example: 'Content-Type: text/plain'.
Return Value
MIME_h_ContentType
Returns parsed header field.
Returns parsed header field.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | Is raised when value is null reference. |
ParseException | Is raised when header field parsing errors. |
Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119