Acme.PROJECTNAME.Install.XmlHelper.UpdateAttribute C# (CSharp) Метод

UpdateAttribute() публичный статический Метод

public static UpdateAttribute ( XmlElement XmlElement, string attributeName, string newValue ) : void
XmlElement XmlElement
attributeName string
newValue string
Результат void
		public static void UpdateAttribute(XmlElement XmlElement, string attributeName, string newValue)
		{
			XmlAttribute attrTemp = null;
			attrTemp = (XmlAttribute)XmlElement.Attributes.GetNamedItem(attributeName);
			attrTemp.InnerText = newValue;
		}