Gets the option for this IUITechnologyElement.
Namespace:  Microsoft.VisualStudio.TestTools.UITesting
Assembly:  Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
Syntax
'Declaration
Public Overrides Function GetOption ( _
    technologyElementOption As UITechnologyElementOption _
) As Object
public override Object GetOption(
    UITechnologyElementOption technologyElementOption
)
public:
virtual Object^ GetOption(
    UITechnologyElementOption technologyElementOption
) override
abstract GetOption : 
        technologyElementOption:UITechnologyElementOption -> Object  
override GetOption : 
        technologyElementOption:UITechnologyElementOption -> Object
public override function GetOption(
    technologyElementOption : UITechnologyElementOption
) : Object
Parameters
- technologyElementOption 
 Type: Microsoft.VisualStudio.TestTools.UITest.Extension.UITechnologyElementOption- The element option to obtain. 
Return Value
Type: Object
The value of this element option.
Implements
IUITechnologyElement.GetOption(UITechnologyElementOption)
Exceptions
| Exception | Condition | 
|---|---|
| NotSupportedException | Throws System.NotSupportedException if the 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.