INameValueCollection interface

Represents a collection of name/value pairs.

Collections returned by the CCP API are read-only. CCP uses the methods that modify the collection.

The following methods return this interface:

Members

The INameValueCollection interface inherits from the IDispatch interface. INameValueCollection also has these types of members:

  • Methods

Methods

The INameValueCollection interface has these methods.

Method Description
Add

Adds a name/value pair to the end of the collection.

Clear

Removes all name/value pairs from the collection.

Clone

Creates an identical copy of the collection.

get_Count

Retrieves the number of items in the collection.

GetEnumerator

Retrieves an enumerator that you use to enumerate the name/value pairs in the collection.

Insert

Adds a name/value pair to the collection at the specified index.

Remove

Removes a name/value pair from the collection.

RemoveAt

Removes the name/value pair at the specified index from the collection.

Set

Creates a name/value pair and adds it to the collection.

 

Requirements

Product

Compute Cluster Pack Client Utilities

Type library

Ccpapi.tlb

See also

INameValue

CCP Interfaces