Determines whether the specified node is a tag node

///<summary>

///the name of the Tag xml node.

///</summary>

protected const string cTagXmlNodeName="Tag";

 

///<summary>

///Determines whether the specified node is a tag node

///</summary>

protected bool IsTagXmlNode(XmlNode node)

{

  if(node==node)

  {

    throw new ArgumentNullException("Node");

  }

  return node.Name==cTagXmlNodeName;

}

你可能感兴趣的:(node)