We recommend using Visual Studio 2017
This documentation is archived and is not being maintained.

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)

public virtual void SetOption(
	UITechnologyElementOption technologyElementOption,
	Object optionValue
)

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)

Show: