Setting Class
Represents a unit of configuration setting information.
Inheritance Hierarchy
Object
Microsoft.VisualStudio.TestTools.UITest.Common.Setting
Namespace: Microsoft.VisualStudio.TestTools.UITest.Common
Assembly: Microsoft.VisualStudio.TestTools.UITest.Common (in Microsoft.VisualStudio.TestTools.UITest.Common.dll)
Syntax
'Declaration
<SerializableAttribute> _
Public Class Setting
[SerializableAttribute]
public class Setting
[SerializableAttribute]
public ref class Setting
[<SerializableAttribute>]
type Setting = class end
public class Setting
The Setting type exposes the following members.
Constructors
Name | Description | |
---|---|---|
Setting() | Initializes a new instance of the Setting class for XML serialization or deserialization. | |
Setting(String, Object) | Initializes a new instance of the Setting class by using the provided name and value. | |
Setting(String, Object, Int32) | Initializes a new instance of the Setting class by using the provided name, value, and warning level. |
Top
Properties
Name | Description | |
---|---|---|
Name | Gets or sets the name of the setting. | |
Value | Gets or sets the value of the setting as a string. | |
WarningLevel | Gets or sets the warning level of the setting. |
Top
Methods
Name | Description | |
---|---|---|
Equals(Object) | Determines whether the provided object is equal to this Setting object. (Overrides Object.Equals(Object).) | |
Equals(Setting) | Determines whether the provided object is equal to this Setting 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 the default hash function. (Overrides Object.GetHashCode.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | (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.