///<summary>

///the name of the Value xml node.

///</summary>

protected const string cValueXmlAttributeName="Value";

///<summary>

///Retrieves the value of the specified tag xml node.

///</summary>

protected string GetXmlNodeValue(XmlNode node)

{

  if(node==null)

  {

    throw new ArgumentNulException("Node");

  }

  XmlAttribute myValueXmlAttribute=node.Attributes[cTagValueXmlAttributename];

  if(myValueXmlAttribute==null)

  {

    return null;

  }

  return myValueXmlAttribute.Value;

}

相关文章:

  • 2021-12-04
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-15
  • 2021-10-02
  • 2021-08-16
猜你喜欢
  • 2022-12-23
  • 2021-09-04
  • 2021-11-09
  • 2022-12-23
  • 2021-05-19
  • 2021-08-27
  • 2022-03-08
相关资源
相似解决方案