NameValueHeaderValue Class

Represents a name/value pair.

Inheritance Hierarchy

System.Object
  System.Net.Http.Headers.NameValueHeaderValue
    System.Net.Http.Headers.NameValueWithParametersHeaderValue

Namespace:  System.Net.Http.Headers
Assembly:  System.Net.Http (in System.Net.Http.dll)

Syntax

'Declaration
Public Class NameValueHeaderValue
'Usage
Dim instance As NameValueHeaderValue
public class NameValueHeaderValue
public ref class NameValueHeaderValue
type NameValueHeaderValue =  class end
public class NameValueHeaderValue

The NameValueHeaderValue type exposes the following members.

Constructors

  Name Description
Public method NameValueHeaderValue(String) Initializes a new instance of the NameValueHeaderValue class.
Protected method NameValueHeaderValue(NameValueHeaderValue) Initializes a new instance of the NameValueHeaderValue class.
Public method NameValueHeaderValue(String, String) Initializes a new instance of the NameValueHeaderValue class.

Top

Properties

  Name Description
Public property Name Gets {insert text here}.
Public property Value Gets or sets {insert text here}.

Top

Methods

  Name Description
Public method Equals (Overrides Object.Equals(Object).)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Overrides Object.GetHashCode().)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public methodStatic member Parse
Public method ToString (Overrides Object.ToString().)
Public methodStatic member TryParse

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

System.Net.Http.Headers Namespace