Поделиться через


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)

Syntax

'Declaration
Public Overridable Sub SetOption ( _
    technologyElementOption As UITechnologyElementOption, _
    optionValue As Object _
)
public virtual void SetOption(
    UITechnologyElementOption technologyElementOption,
    Object optionValue
)
public:
virtual void SetOption(
    UITechnologyElementOption technologyElementOption, 
    Object^ optionValue
)
abstract SetOption : 
        technologyElementOption:UITechnologyElementOption * 
        optionValue:Object -> unit 
override SetOption : 
        technologyElementOption:UITechnologyElementOption * 
        optionValue:Object -> unit 
public function SetOption(
    technologyElementOption : UITechnologyElementOption, 
    optionValue : Object
)

Parameters

Implements

IUITechnologyElement.SetOption(UITechnologyElementOption, Object)

.NET Framework Security

See Also

Reference

UITechnologyElement Class

Microsoft.VisualStudio.TestTools.UITest.Extension Namespace

UITechnologyElementOption