INameValueCollection.Set Method
Creates a name/value pair and adds it to the collection.
Namespace: Microsoft.ComputeCluster
Assembly: CcpAPI (in ccpapi.dll)
Usage
Syntax
'Declaration
Sub Set ( _
name As String, _
value As String _
)
void Set (
string name,
string value
)
void Set (
String^ name,
String^ value
)
void Set (
String name,
String value
)
function Set (
name : String,
value : String
)
Parameters
- name
The name.
- value
The value.
Remarks
This method searches for the first occurrence of the name. If the name is found, the method replaces the value; otherwise, the name/value pair is added to the end of the collection.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Microsoft Windows Compute Cluster Server 2003, Windows Server 2003, Windows XP
Target Platforms
Microsoft Windows Compute Cluster Server 2003, Windows Server 2003 with Compute Cluster Pack Client Utilities, Windows XP with Compute Cluster Pack Client Utilities
See Also
Reference
INameValueCollection Interface
INameValueCollection Members
Microsoft.ComputeCluster Namespace