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
- technologyElementOption 
 Type: Microsoft.VisualStudio.TestTools.UITest.Extension.UITechnologyElementOption- A member of the UITechnologyElementOption enumeration. 
Return Value
Type: Object
The value of the specified option.
Exceptions
| Exception | Condition | 
|---|---|
| NotSupportedException | The specified element option is not supported. | 
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
IUITechnologyElement Interface