IUITechnologyElement.SwitchingElement 属性

获取或设置容器元素(如果此元素承载于另一技术的某个元素内)。

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

语法

声明
Property SwitchingElement As IUITechnologyElement
IUITechnologyElement SwitchingElement { get; set; }
property IUITechnologyElement^ SwitchingElement {
    IUITechnologyElement^ get ();
    void set (IUITechnologyElement^ value);
}
abstract SwitchingElement : IUITechnologyElement with get, set
function get SwitchingElement () : IUITechnologyElement 
function set SwitchingElement (value : IUITechnologyElement)

属性值

类型:Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElement
如果承载于另一技术的某个元素内,则为包含元素;否则为 nullnull 引用(在 Visual Basic 中为 Nothing)。

.NET Framework 安全性

请参阅

参考

IUITechnologyElement 接口

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