Share via


Setting Constructor (String, Object, Int32)

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

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

Syntax

'Declaration
Public Sub New ( _
    name As String, _
    value As Object, _
    warningLevel As Integer _
)
public Setting(
    string name,
    Object value,
    int warningLevel
)
public:
Setting(
    String^ name, 
    Object^ value, 
    int warningLevel
)
new : 
        name:string * 
        value:Object * 
        warningLevel:int -> Setting
public function Setting(
    name : String, 
    value : Object, 
    warningLevel : int
)

Parameters

  • name
    Type: String

    The name for this setting.

  • value
    Type: Object

    The value for this setting.

  • warningLevel
    Type: Int32

    The warning level for this setting.

.NET Framework Security

See Also

Reference

Setting Class

Setting Overload

Microsoft.VisualStudio.TestTools.UITest.Common Namespace