IUITechnologyElement.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
Function GetOption ( _
    technologyElementOption As UITechnologyElementOption _
) As Object
Object GetOption(
    UITechnologyElementOption technologyElementOption
)
Object^ GetOption(
    UITechnologyElementOption technologyElementOption
)
abstract GetOption : 
        technologyElementOption:UITechnologyElementOption -> Object 
function GetOption(
    technologyElementOption : UITechnologyElementOption
) : Object

Parameters

Return Value

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

Exceptions

Exception Condition
NotSupportedException

The specified element option is not supported.

.NET Framework Security

See Also

Reference

IUITechnologyElement Interface

Microsoft.VisualStudio.TestTools.UITest.Extension Namespace

UITechnologyElementOption