UITechnologyElement.SetOption Method
Sets the value of the specified option in this element.
Namespace: Microsoft.VisualStudio.TestTools.UITest.Extension
Assembly: Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)
Syntax
'Declaration
Public Overridable Sub SetOption ( _
technologyElementOption As UITechnologyElementOption, _
optionValue As Object _
)
public virtual void SetOption(
UITechnologyElementOption technologyElementOption,
Object optionValue
)
public:
virtual void SetOption(
UITechnologyElementOption technologyElementOption,
Object^ optionValue
)
abstract SetOption :
technologyElementOption:UITechnologyElementOption *
optionValue:Object -> unit
override SetOption :
technologyElementOption:UITechnologyElementOption *
optionValue:Object -> unit
public function SetOption(
technologyElementOption : UITechnologyElementOption,
optionValue : Object
)
Parameters
- technologyElementOption
Type: Microsoft.VisualStudio.TestTools.UITest.Extension.UITechnologyElementOption
A member of the UITechnologyElementOption enumeration.
- optionValue
Type: System.Object
The value for the option.
Implements
IUITechnologyElement.SetOption(UITechnologyElementOption, Object)
.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.