Information
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.

UITechnologyElementProxy::SetOption Method (UITechnologyElementOption, Object^)

 

Sets the option for this IUITechnologyElement.

Namespace:   Microsoft.VisualStudio.TestTools.UITesting
Assembly:  Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)

public:
virtual void SetOption(
	UITechnologyElementOption technologyElementOption,
	Object^ optionValue
) override

Parameters

technologyElementOption
Type: Microsoft.VisualStudio.TestTools.UITest.Extension::UITechnologyElementOption

The element option to set.

optionValue
Type: System::Object^

The value of this element option.

Exception Condition
NotSupportedException

Throws System.NotSupportedException if the element option is not supported.

Return to top
Show: