CssBoxGetAttribute 方法 (String, String) |
获取 HTML 标记源的指定属性的值。
命名空间:
DSkin.Html.Core.Dom
程序集:
DSkin (在 DSkin.dll 中) 版本:16.6.3.22
语法public string GetAttribute(
string attribute,
string defaultValue
)
参数
- attribute
- 类型:SystemString
要检索的属性 - defaultValue
- 类型:SystemString
如果未找到属性时的默认值
返回值
类型:
String属性值或默认值
参见