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

.NET Framework Security

See Also

Reference

IUITechnologyElement Interface

Microsoft.VisualStudio.TestTools.UITest.Extension Namespace

UITechnologyElementOption