LumiSoft Net Help
MIME_h_ContentType Class
NamespacesLumiSoft.Net.MIMEMIME_h_ContentType
Represents "Content-Type:" header. Defined in RFC 2045 5.1.
Declaration Syntax
C#Visual BasicVisual C++F#
public class MIME_h_ContentType : MIME_h
Public Class MIME_h_ContentType
	Inherits MIME_h
public ref class MIME_h_ContentType : public MIME_h
type MIME_h_ContentType =  
    class
        inherit MIME_h
    end
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
MIME_h_ContentType(String)
Default constructor.

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()()()()
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
IsModified
Gets if this header field is modified since it has loaded.
(Overrides MIME_h.IsModified.)
MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
Name
Returns always "Content-Type".
(Overrides MIME_h.Name.)
Param_Boundary
Gets or sets Content-Type boundary parameter value. Value null means not specified.

Param_Charset
Gets or sets Content-Type charset parameter value. Value null means not specified.

Param_Name
Gets or sets Content-Type name parameter value. Value null means not specified.

Parameters
Gets Content-Type parameters collection.

Parse(String)
Parses header field from the specified value.

SubType
Gets media sub-type. For example for text/plain, sub-type is 'plain'.

ToString(MIME_Encoding_EncodedWord, Encoding, Boolean)
Returns header field as string.
(Overrides MIME_h.ToString(MIME_Encoding_EncodedWord, Encoding, Boolean).)
ToString()()()()
Returns header field as string.
(Inherited from MIME_h.)
ToString(MIME_Encoding_EncodedWord, Encoding)
Returns header field as string.
(Inherited from MIME_h.)
Type
Gets media type. For example: application,image,text, ... .

TypeWithSubtype
Gets media type with subtype as Type/SubType. Well known value are in MIME_MediaTypes. For example: text/plain.

TypeWithSubype Obsolete.
Gets media type with subtype as Type/SubType. Well known value are in MIME_MediaTypes. For example: text/plain.

ValueToString()()()()
Returns header field value as string.
(Inherited from MIME_h.)
ValueToString(MIME_Encoding_EncodedWord, Encoding)
Returns header field value as string.
(Inherited from MIME_h.)
Remarks
 Copy imageCopy
RFC 2045 5.1.
In the Augmented BNF notation of RFC 822, a Content-Type header field
value is defined as follows:

    content := "Content-Type" ":" type "/" subtype
               *(";" parameter)
               ; Matching of media type and subtype
               ; is ALWAYS case-insensitive.

    type := discrete-type / composite-type

    discrete-type := "text" / "image" / "audio" / "video" / "application" / extension-token

    composite-type := "message" / "multipart" / extension-token

    extension-token := ietf-token / x-token

    ietf-token := (An extension token defined by a standards-track RFC and registered with IANA.)

    x-token := (The two characters "X-" or "x-" followed, with no intervening white space, by any token)

    subtype := extension-token / iana-token

    iana-token := (A publicly-defined extension token. Tokens of this form must be registered with IANA as specified in RFC 2048.)

    parameter := attribute "=" value

    attribute := token
                 ; Matching of attributes
                 ; is ALWAYS case-insensitive.

    value := token / quoted-string

    token := 1*(any (US-ASCII) CHAR except SPACE, CTLs,or tspecials)

    tspecials :=  "(" / ")" / "<" / ">" / "@" /
                  "," / ";" / ":" / "\" / "
                  "/" / "[" / "]" / "?" / "="
                  ; Must be in quoted-string,
                  ; to use within parameter values
Inheritance Hierarchy
Object
MIME_h
 MIME_h_ContentType

Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119