IUITechnologyElement.GetOption 方法

返回此元素的指定选项。

命名空间:  Microsoft.VisualStudio.TestTools.UITest.Extension
程序集:  Microsoft.VisualStudio.TestTools.UITest.Extension(在 Microsoft.VisualStudio.TestTools.UITest.Extension.dll 中)

语法

声明
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

参数

返回值

类型:System.Object
指定选项的值。

异常

异常 条件
NotSupportedException

不支持指定的元素选项。

.NET Framework 安全性

请参见

参考

IUITechnologyElement 接口

Microsoft.VisualStudio.TestTools.UITest.Extension 命名空间

UITechnologyElementOption