IStringCollection interface
Defines a collection of string values.
To get this interface, call one of the following properties or method:
- IRemoteCommand::NodeNames
- IScheduler::GetJobTemplateList
- ISchedulerJob::AllocatedNodes
- ISchedulerJob::NodeGroups
- ISchedulerJob::RequestedNodes
- ISchedulerNode::NodeGroups
- ISchedulerTask::AllocatedNodes
- ISchedulerTask::DependsOn
- ISchedulerTask::RequiredNodes
To create an empty collection, call the IScheduler::CreateStringCollection method.
Members
The IStringCollection interface inherits from the IDispatch interface. IStringCollection also has these types of members:
- Methods
- Properties
Methods
The IStringCollection interface has these methods.
Method | Description |
---|---|
Add | Adds an item to the collection. |
Clear | Removes all items from the collection. |
Contains | Determines whether the collection contains the specified item. |
GetEnumerator | Retrieves an enumerator that you use to enumerate the items in the collection. |
Remove | Removes an item from the collection. |
Properties
The IStringCollection interface has these properties.
Property | Access type | Description |
---|---|---|
Read-only |
Retrieves the number of items in the collection. |
|
Read-only |
Retrieves the specified item from the collection. |
Requirements
Product |
HPC Pack 2008 R2 Client Utilities, HPC Pack 2008 Client Utilities |
Header |
Wuapi.h |
Type library |
Microsoft.Hpc.Scheduler.tlb |