NameValue Class
Represents a name/value pair.
Namespace: Microsoft.ComputeCluster
Assembly: CcpAPI (in ccpapi.dll)
Usage
Syntax
'Declaration
<SerializableAttribute> _
<XmlTypeAttribute("NameValue", Namespace:="https://www.microsoft.com/ComputeCluster/")> _
<ClassInterfaceAttribute(ClassInterfaceType.None)> _
<ComVisibleAttribute(True)> _
<GuidAttribute("E04C268B-5073-4b2d-B9A5-6435935D0C70")> _
Public NotInheritable Class NameValue
Implements INameValue
[SerializableAttribute]
[XmlTypeAttribute("NameValue", Namespace="https://www.microsoft.com/ComputeCluster/")]
[ClassInterfaceAttribute(ClassInterfaceType.None)]
[ComVisibleAttribute(true)]
[GuidAttribute("E04C268B-5073-4b2d-B9A5-6435935D0C70")]
public sealed class NameValue : INameValue
[SerializableAttribute]
[XmlTypeAttribute(L"NameValue", Namespace=L"https://www.microsoft.com/ComputeCluster/")]
[ClassInterfaceAttribute(ClassInterfaceType::None)]
[ComVisibleAttribute(true)]
[GuidAttribute(L"E04C268B-5073-4b2d-B9A5-6435935D0C70")]
public ref class NameValue sealed : INameValue
/** @attribute SerializableAttribute() */
/** @attribute XmlTypeAttribute("NameValue", Namespace="https://www.microsoft.com/ComputeCluster/") */
/** @attribute ClassInterfaceAttribute(ClassInterfaceType.None) */
/** @attribute ComVisibleAttribute(true) */
/** @attribute GuidAttribute("E04C268B-5073-4b2d-B9A5-6435935D0C70") */
public final class NameValue implements INameValue
SerializableAttribute
XmlTypeAttribute("NameValue", Namespace="https://www.microsoft.com/ComputeCluster/")
ClassInterfaceAttribute(ClassInterfaceType.None)
ComVisibleAttribute(true)
GuidAttribute("E04C268B-5073-4b2d-B9A5-6435935D0C70")
public final class NameValue implements INameValue
Remarks
Treat the properties of this class as read-only; do not set the value of these properties.
You should not use this class. Instead, you should use the INameValue interface as shown in the following example:
foreach (INameValue param in cluster.Parameters)
{
Console.WriteLine(param.Name);
}
Inheritance Hierarchy
System.Object
Microsoft.ComputeCluster.NameValue
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
NameValue Members
Microsoft.ComputeCluster Namespace
NameValueCollection