INameValueCollection interface
Represents a collection of name/value pairs.
The following properties return this interface:
- ICommandInfo::EnvironmentVariables
- IScheduler::EnvironmentVariables
- IScheduler::ClusterParameters
- ISchedulerJob::GetCustomProperties
- ISchedulerTask::GetCustomProperties
- ISchedulerTask::EnvironmentVariables
To create this interface, call the IScheduler::CreateNameValueCollection method.
Members
The INameValueCollection interface inherits from the IDispatch interface. INameValueCollection also has these types of members:
Methods
The INameValueCollection interface has these methods.
| Method | Description |
|---|---|
| AddNameValue |
Adds a name/value pair to the collection. |
| GetEnumerator |
Retrieves an enumerator that you use to enumerate the name/value pairs in the collection. |
Properties
The INameValueCollection interface has these properties.
| Property | Access type | Description |
|---|---|---|
|
Read-only |
Retrieves the number of items in the collection. |
Requirements
|
Product |
HPC Pack 2008 R2 Client Utilities, HPC Pack 2008 Client Utilities |
|---|---|
|
Type library |
|
See also
Show: