NameValue Class
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 | |
---|---|---|
NameValue() | Initializes an instance of the NameValue class. | |
NameValue(NameValue) | Initializes an instance of the NameValue class that is identical to the provided NameValue object. | |
NameValue(String, String) | Initializes an instance of the NameValue class by using the provided parameters. |
Top
Properties
Name | Description | |
---|---|---|
Name | Gets or sets the name of the value. | |
Value | Gets and sets the content that the Name property value identifies. |
Top
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
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.