Represents a named text value.
Inheritance Hierarchy
Object
  Microsoft.VisualStudio.TestTools.Common.NameValue
Namespace:  Microsoft.VisualStudio.TestTools.Common
Assembly:  Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)
Syntax
'Declaration
Public NotInheritable Class NameValue
public sealed class NameValue
public ref class NameValue sealed
[<Sealed>]
type NameValue =  class end
public final class NameValue
The NameValue type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| .gif) | NameValue() | Initializes an instance of the NameValue class. | 
| .gif) | NameValue(NameValue) | Initializes an instance of the NameValue class that is identical to the provided NameValue object. | 
| .gif) | NameValue(String, String) | Initializes an instance of the NameValue class by using the provided parameters. | 
Top
Properties
| Name | Description | |
|---|---|---|
| .gif) | Name | Gets or sets the name of the value. | 
| .gif) | Value | Gets and sets the content that the Name property value identifies. | 
Top
Methods
| Name | Description | |
|---|---|---|
| .gif) | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | 
| .gif) | GetHashCode | Serves as the default hash function. (Inherited from Object.) | 
| .gif) | GetType | Gets the Type of the current instance. (Inherited from Object.) | 
| .gif) | ToString | Retrieves a string that contains the Name and Value property values. (Overrides Object.ToString.) | 
Top
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.