MediaTypeHeaderValue Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a media type used in a Content-Type header as defined in the RFC 2616.
public ref class MediaTypeHeaderValue
public ref class MediaTypeHeaderValue : ICloneable
public class MediaTypeHeaderValue
public class MediaTypeHeaderValue : ICloneable
type MediaTypeHeaderValue = class
type MediaTypeHeaderValue = class
interface ICloneable
Public Class MediaTypeHeaderValue
Public Class MediaTypeHeaderValue
Implements ICloneable
- Inheritance
-
MediaTypeHeaderValue
- Derived
- Implements
The MediaTypeHeaderValue class provides support for the media type used in a Content-Type header as defined in RFC 2616 by the IETF.
An example of a media-type would be "text/plain; charset=iso-8859-5".
Media |
Initializes a new instance of the MediaTypeHeaderValue class. |
Media |
Initializes a new instance of the MediaTypeHeaderValue class. |
Media |
Initializes a new instance of the MediaTypeHeaderValue class. |
Char |
Gets or sets the character set. |
Media |
Gets or sets the media-type header value. |
Parameters |
Gets or sets the media-type header value parameters. |
Equals(Object) |
Determines whether the specified Object is equal to the current MediaTypeHeaderValue object. |
Get |
Serves as a hash function for an MediaTypeHeaderValue object. |
Get |
Gets the Type of the current instance. (Inherited from Object) |
Memberwise |
Creates a shallow copy of the current Object. (Inherited from Object) |
Parse(String) |
Converts a string to an MediaTypeHeaderValue instance. |
To |
Returns a string that represents the current MediaTypeHeaderValue object. |
Try |
Determines whether a string is valid MediaTypeHeaderValue information. |
ICloneable. |
Creates a new object that is a copy of the current MediaTypeHeaderValue instance. |
Продукт | Версії |
---|---|
.NET | Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10 |
.NET Framework | 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 1.1, 1.2, 1.3, 1.4, 1.6, 2.0, 2.1 |
UWP | 10.0 |
Відгук про .NET
.NET – це проект із відкритим кодом. Виберіть посилання, щоб надати відгук: