The ContentType type exposes the following members.

Constructors

  NameDescription
Public methodSupported by the .NET Compact FrameworkContentType
Initializes a new instance of ContentType header value with the specified media type.

Methods

  NameDescription
Public methodSupported by the .NET Compact FrameworkClone
Creates a copy of the header.
Public methodSupported by the .NET Compact FrameworkEncode
Writes an encoded header value into a TextWriter.
Public methodSupported by the .NET Compact FrameworkEquals
Determines whether the specified ContentType is equal to the current ContentType.
(Overrides Object..::..Equals(Object).)
Protected methodSupported by the .NET Compact FrameworkFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkGetHashCode
Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
(Overrides Object..::..GetHashCode()()()().)
Public methodSupported by the .NET Compact FrameworkGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodSupported by the .NET Compact FrameworkMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkToString
Converts the value of this header to its String representation.
(Overrides Object..::..ToString()()()().)

Properties

  NameDescription
Public propertySupported by the .NET Compact FrameworkBoundary
Gets or sets the 'boundary' parameter of this content type.
Public propertySupported by the .NET Compact FrameworkEncoding
Gets the 'charset' of this content type to Encoding.
Public propertySupported by the .NET Compact FrameworkCharSet
Gets or sets the 'charset' parameter of this content type.
Public propertySupported by the .NET Compact FrameworkMediaType
Gets the internet media type in the format of 'type/subtype'.
Public propertySupported by the .NET Compact FrameworkParameters
Gets the list of parameters of this content type.

See Also