Setting Class

 

Represents a unit of configuration setting information.

Namespace:   Microsoft.VisualStudio.TestTools.UITest.Common
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Common (in Microsoft.VisualStudio.TestTools.UITest.Common.dll)

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.TestTools.UITest.Common.Setting

Syntax

[SerializableAttribute]
public class Setting
[SerializableAttribute]
public ref class Setting 
[<SerializableAttribute>]
type Setting = class end
<SerializableAttribute>
Public Class Setting

Constructors

Name Description
System_CAPS_pubmethod Setting()

Initializes a new instance of the Setting class for XML serialization or deserialization.

System_CAPS_pubmethod Setting(String, Object)

Initializes a new instance of the Setting class by using the provided name and value.

System_CAPS_pubmethod Setting(String, Object, Int32)

Initializes a new instance of the Setting class by using the provided name, value, and warning level.

Properties

Name Description
System_CAPS_pubproperty Name

Gets or sets the name of the setting.

System_CAPS_pubproperty Value

Gets or sets the value of the setting as a string.

System_CAPS_pubproperty WarningLevel

Gets or sets the warning level of the setting.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

Determines whether the provided object is equal to this Setting object.(Overrides Object.Equals(Object).)

System_CAPS_pubmethod Equals(Setting)

Determines whether the provided object is equal to this Setting object.

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Overrides Object.GetHashCode().)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Overrides Object.ToString().)

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.

See Also

Microsoft.VisualStudio.TestTools.UITest.Common Namespace

Return to top