IUITechnologyElement.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
Sub SetOption ( _
technologyElementOption As UITechnologyElementOption, _
optionValue As Object _
)
void SetOption(
UITechnologyElementOption technologyElementOption,
Object optionValue
)
void SetOption(
UITechnologyElementOption technologyElementOption,
Object^ optionValue
)
abstract SetOption :
technologyElementOption:UITechnologyElementOption *
optionValue:Object -> unit
function SetOption(
technologyElementOption : UITechnologyElementOption,
optionValue : Object
)
Parameters
technologyElementOption
Type: Microsoft.VisualStudio.TestTools.UITest.Extension.UITechnologyElementOptionA member of the UITechnologyElementOption enumeration.
optionValue
Type: ObjectThe value for the option.
.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.
See Also
Reference
IUITechnologyElement Interface