INameValue interface

Represents a name/value pair.

To get this interface, call the INameValueCollection::GetEnumerator method to get an IEnumVARIANT interface pointer. Use the IEnumVARIANT::Next method to enumerate the items of the collection. Each item in the collection is a variant of type VT_DISPATCH. Query the pdispVal member of the variant to get the INameValue interface.

Members

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

  • Properties

Properties

The INameValue interface has these properties.

Property Access type Description

Name

Read-only

Retrieves the name.

Value

Read-only

Retrieves the value.

 

Requirements

Product

HPC Pack 2008 R2 Client Utilities, HPC Pack 2008 Client Utilities

Type library

Microsoft.Hpc.Scheduler.tlb

See also

HPC Interfaces

INameValueCollection