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
- technologyElementOption
Type: Microsoft.VisualStudio.TestTools.UITest.Extension.UITechnologyElementOption
A member of the UITechnologyElementOption enumeration.
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
- 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.