一款简单易用的基础网络通讯组件库。

XElementExtensionGetAttributeValue 方法

重载列表

GetAttributeValue(XElement, XName) 获取指定名称的属性值。
GetAttributeValue(XElement, XName, String) 获取指定名称的属性值,如果属性不存在,则返回默认值。
GetAttributeValueT(XElement, XName) 获取指定名称的属性值,如果属性不存在,则返回默认值。
GetAttributeValueT(XElement, XName, T) 获取指定名称的属性值,如果属性不存在或值为空,则返回默认值。

参见