判断节点是否具有相关属性
Namespace: Appkit.DataAssembly: Appkit (in Appkit.dll) Version: 2.0.0.0 (2.0.0.0)
Syntaxpublic static bool HasAttribute(
XmlNode node,
string attrName,
string attrValue
)
Parameters
- node
- Type: System.XmlXmlNode
- attrName
- Type: SystemString
- attrValue
- Type: SystemString
Return Value
Type:
Boolean
See Also