Bagikan melalui


UITechnologyElement.GetOption Method

Returns the specified option for 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 Function GetOption ( _
    technologyElementOption As UITechnologyElementOption _
) As Object
public virtual Object GetOption(
    UITechnologyElementOption technologyElementOption
)
public:
virtual Object^ GetOption(
    UITechnologyElementOption technologyElementOption
)
abstract GetOption : 
        technologyElementOption:UITechnologyElementOption -> Object 
override GetOption : 
        technologyElementOption:UITechnologyElementOption -> Object 
public function GetOption(
    technologyElementOption : UITechnologyElementOption
) : Object

Parameters

Return Value

Type: System.Object
The value of the specified option.

Implements

IUITechnologyElement.GetOption(UITechnologyElementOption)

Exceptions

Exception Condition
NotSupportedException

The specified element option is not supported.

.NET Framework Security

See Also

Reference

UITechnologyElement Class

Microsoft.VisualStudio.TestTools.UITest.Extension Namespace

UITechnologyElementOption