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;

}

posted @ 2012-05-07 15:16  szjdw  阅读(132)  评论(0编辑  收藏  举报