HtmlTag.Attributes 属性
获取与 HTML 标记相关联的属性的集合。
命名空间: Microsoft.VisualStudio.TestTools.WebTesting
程序集: Microsoft.VisualStudio.QualityTools.WebTestFramework(在 Microsoft.VisualStudio.QualityTools.WebTestFramework.dll 中)
语法
声明
Public ReadOnly Property Attributes As IList(Of HtmlAttribute)
Get
public IList<HtmlAttribute> Attributes { get; }
public:
property IList<HtmlAttribute^>^ Attributes {
IList<HtmlAttribute^>^ get ();
}
member Attributes : IList<HtmlAttribute>
function get Attributes () : IList<HtmlAttribute>
属性值
类型:System.Collections.Generic.IList<HtmlAttribute>
IList<T> 对象。
备注
IList<T> 对象拥有为其键/值对定义的 string 和 HtmlAttribute 类型参数。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。