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: StringThe name for this setting.
value
Type: ObjectThe value for this setting.
warningLevel
Type: Int32The warning level for this setting.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.