Microsoft.JScript.Vsa.VsaEngine.AddChildAndValue C# (CSharp) Method

AddChildAndValue() private method

private AddChildAndValue ( XmlDocument doc, XmlElement parent, string name, string value ) : void
doc System.Xml.XmlDocument
parent System.Xml.XmlElement
name string
value string
return void
      private void AddChildAndValue(XmlDocument doc, XmlElement parent, string name, string value){
        XmlElement option = doc.CreateElement(name);
        this.CreateAttribute(doc, option, "Value", value);
        parent.AppendChild(option);
      }