Share via


NameValueCollection Class

Represents a collection of name/value pairs.

Namespace: Microsoft.ComputeCluster
Assembly: CcpAPI (in ccpapi.dll)

Usage

Syntax

'Declaration
<SerializableAttribute> _
<GuidAttribute("4260DE34-014D-4ea1-9E7F-95D5567E3EAA")> _
<XmlTypeAttribute("NameValueCollection", Namespace:="https://www.microsoft.com/ComputeCluster/")> _
<ClassInterfaceAttribute(ClassInterfaceType.None)> _
<ComVisibleAttribute(True)> _
Public NotInheritable Class NameValueCollection
    Implements INameValueCollection, IEnumerable
[SerializableAttribute] 
[GuidAttribute("4260DE34-014D-4ea1-9E7F-95D5567E3EAA")] 
[XmlTypeAttribute("NameValueCollection", Namespace="https://www.microsoft.com/ComputeCluster/")] 
[ClassInterfaceAttribute(ClassInterfaceType.None)] 
[ComVisibleAttribute(true)] 
public sealed class NameValueCollection : INameValueCollection, IEnumerable
[SerializableAttribute] 
[GuidAttribute(L"4260DE34-014D-4ea1-9E7F-95D5567E3EAA")] 
[XmlTypeAttribute(L"NameValueCollection", Namespace=L"https://www.microsoft.com/ComputeCluster/")] 
[ClassInterfaceAttribute(ClassInterfaceType::None)] 
[ComVisibleAttribute(true)] 
public ref class NameValueCollection sealed : INameValueCollection, IEnumerable
/** @attribute SerializableAttribute() */ 
/** @attribute GuidAttribute("4260DE34-014D-4ea1-9E7F-95D5567E3EAA") */ 
/** @attribute XmlTypeAttribute("NameValueCollection", Namespace="https://www.microsoft.com/ComputeCluster/") */ 
/** @attribute ClassInterfaceAttribute(ClassInterfaceType.None) */ 
/** @attribute ComVisibleAttribute(true) */ 
public final class NameValueCollection implements INameValueCollection, IEnumerable
SerializableAttribute 
GuidAttribute("4260DE34-014D-4ea1-9E7F-95D5567E3EAA") 
XmlTypeAttribute("NameValueCollection", Namespace="https://www.microsoft.com/ComputeCluster/") 
ClassInterfaceAttribute(ClassInterfaceType.None) 
ComVisibleAttribute(true) 
public final class NameValueCollection implements INameValueCollection, IEnumerable

Remarks

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

You should not use this class. Instead, you should use the INameValueCollection interface as shown in the following example:

INameValueCollection params = cluster.Parameters;

Inheritance Hierarchy

System.Object
  Microsoft.ComputeCluster.NameValueCollection

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

NameValueCollection Members
Microsoft.ComputeCluster Namespace
NameValue Class