System.Xml.XPath.XPathNavigator.SetValue C# (CSharp) Method

SetValue() public method

public SetValue ( string value ) : void
value string
return void
        public virtual void SetValue(string value)
        {
            throw new NotSupportedException();
        }

Usage Example

Example #1
0
 public static void SetOrCreateXmlAttribute(XPathNavigator node, string localName, string namespaceURI, string value)
 {
     if (node.MoveToAttribute(localName, namespaceURI))
     {
         node.SetValue(value);
         node.MoveToParent();
     }
     else
     {
         node.CreateAttribute("", localName, namespaceURI, value);
     }
 }
All Usage Examples Of System.Xml.XPath.XPathNavigator::SetValue