Setting Constructor (String, Object)
Initializes a new instance of the Setting class by using the provided name and value.
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 _
)
public Setting(
string name,
Object value
)
public:
Setting(
String^ name,
Object^ value
)
new :
name:string *
value:Object -> Setting
public function Setting(
name : String,
value : Object
)
Parameters
name
Type: StringThe name for this setting.
value
Type: ObjectThe value 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.