NameValue Class
Represents a named text value.
Inheritance Hierarchy
System.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.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (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.