Setting Class

Represents a unit of configuration setting information.

Inheritance Hierarchy

System.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
Public method Setting() Initializes a new instance of the Setting class for XML serialization or deserialization.
Public method Setting(String, Object) Initializes a new instance of the Setting class by using the provided name and value.
Public method 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
Public property Name Gets or sets the name of the setting.
Public property Value Gets or sets the value of the setting as a string.
Public property WarningLevel Gets or sets the warning level of the setting.

Top

Methods

  Name Description
Public method Equals(Object) Determines whether the provided object is equal to this Setting object. (Overrides Object.Equals(Object).)
Public method Equals(Setting) Determines whether the provided object is equal to this Setting object.
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Overrides Object.GetHashCode().)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method 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.

See Also

Reference

Microsoft.VisualStudio.TestTools.UITest.Common Namespace