表示用于网页用户界面 (UI) 测试的标签。
继承层次结构
Object
Microsoft.VisualStudio.TestTools.UITesting.UITestControl
Microsoft.VisualStudio.TestTools.UITesting.HtmlControls.HtmlControl
Microsoft.VisualStudio.TestTools.UITesting.HtmlControls.HtmlLabel
命名空间: Microsoft.VisualStudio.TestTools.UITesting.HtmlControls
程序集: Microsoft.VisualStudio.TestTools.UITesting(在 Microsoft.VisualStudio.TestTools.UITesting.dll 中)
Microsoft.VisualStudio.TestTools.WindowsStore.UITesting(在 Microsoft.VisualStudio.TestTools.WindowsStore.UITesting.dll 中)
语法
声明
<CLSCompliantAttribute(True)> _
Public Class HtmlLabel _
Inherits HtmlControl
[CLSCompliantAttribute(true)]
public class HtmlLabel : HtmlControl
[CLSCompliantAttribute(true)]
public ref class HtmlLabel : public HtmlControl
[<CLSCompliantAttribute(true)>]
type HtmlLabel =
class
inherit HtmlControl
end
public class HtmlLabel extends HtmlControl
HtmlLabel 类型公开以下成员。
构造函数
名称 | 说明 | |
---|---|---|
![]() |
HtmlLabel() | 初始化 HtmlLabel 类的新实例。 |
![]() |
HtmlLabel(UITestControl) | 使用所提供的父控件初始化 HtmlLabel 类的新实例。 |
页首
属性
页首
方法
页首
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。
请参阅
参考
Microsoft.VisualStudio.TestTools.UITesting.HtmlControls 命名空间