Share via


NameValueCollection Members

Represents a collection of name/value pairs.

The following tables list the members exposed by the NameValueCollection type.

Public Constructors

  Name Description
NameValueCollection Initializes a new instance of the NameValueCollection class.

Top

Public Properties

  Name Description
public property Count Retrieves the number of items in the collection.

Top

Public Methods

(see also Protected Methods )

  Name Description
public method Add Adds a name/value pair to the end of the collection.
public method Clear Removes all name/value pairs from the collection.
public method Clone Creates an identical copy of the collection.
public method Equals  Overloaded. (Inherited from Object )
public method GetEnumerator Retrieves an enumerator that you use to enumerate the name/value pairs in the collection.
public method GetHashCode  (Inherited from Object )
public method GetType  (Inherited from Object )
public method Insert Adds a name/value pair to the collection at the specified index.
public method static ReferenceEquals  (Inherited from Object )
public method Remove Removes a name/value pair from the collection.
public method RemoveAt Removes the name/value pair at the specified index from the collection.
public method Set Creates a name/value pair and adds it to the collection.
public method ToString  (Inherited from Object )

Top

Protected Methods

  Name Description
protected method Finalize  (Inherited from Object )
protected method MemberwiseClone  (Inherited from Object )

Top

See Also

Reference

NameValueCollection Class
Microsoft.ComputeCluster Namespace
NameValue Class