NameValueHeaderValue NameValueHeaderValue NameValueHeaderValue NameValueHeaderValue Class

Definition

Represents a name/value pair used in various headers as defined in RFC 2616.

public ref class NameValueHeaderValue : ICloneable
public class NameValueHeaderValue : ICloneable
type NameValueHeaderValue = class
    interface ICloneable
Public Class NameValueHeaderValue
Implements ICloneable
Inheritance
NameValueHeaderValueNameValueHeaderValueNameValueHeaderValueNameValueHeaderValue
Derived
Implements

Remarks

The NameValueHeaderValue class provides support for name/value pairs used in various headers as defined in RFC 2616 by the IETF.

Constructors

NameValueHeaderValue(NameValueHeaderValue) NameValueHeaderValue(NameValueHeaderValue) NameValueHeaderValue(NameValueHeaderValue) NameValueHeaderValue(NameValueHeaderValue)

Initializes a new instance of the NameValueHeaderValue class.

NameValueHeaderValue(String) NameValueHeaderValue(String) NameValueHeaderValue(String) NameValueHeaderValue(String)

Initializes a new instance of the NameValueHeaderValue class.

NameValueHeaderValue(String, String) NameValueHeaderValue(String, String) NameValueHeaderValue(String, String) NameValueHeaderValue(String, String)

Initializes a new instance of the NameValueHeaderValue class.

Properties

Name Name Name Name

Gets the header name.

Value Value Value Value

Gets the header value.

Methods

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified Object is equal to the current NameValueHeaderValue object.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as a hash function for an NameValueHeaderValue object.

GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
Parse(String) Parse(String) Parse(String) Parse(String)

Converts a string to an NameValueHeaderValue instance.

ToString() ToString() ToString() ToString()

Returns a string that represents the current NameValueHeaderValue object.

TryParse(String, NameValueHeaderValue) TryParse(String, NameValueHeaderValue) TryParse(String, NameValueHeaderValue) TryParse(String, NameValueHeaderValue)

Determines whether a string is valid NameValueHeaderValue information.

Explicit Interface Implementations

ICloneable.Clone() ICloneable.Clone() ICloneable.Clone() ICloneable.Clone()

Creates a new object that is a copy of the current NameValueHeaderValue instance.

Applies to