The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
UITechnologyElement::SetOption Method (UITechnologyElementOption, Object^)
Sets the value of the specified option in this element.
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.
| Exception | Condition |
|---|---|
| NotSupportedException | Throws System.NotSupportedException if the element option is not supported. |
Show: