Acme.PROJECTNAME.Install.XmlHelper.RemoveAttribute C# (CSharp) Method

RemoveAttribute() public static method

public static RemoveAttribute ( XmlElement element, string attributeName ) : void
element XmlElement
attributeName string
return void
		public static void RemoveAttribute(XmlElement element, string attributeName)
		{
			XmlAttribute attrDelete = null;
			attrDelete = (XmlAttribute)element.Attributes.GetNamedItem(attributeName);
			element.Attributes.Remove(attrDelete);
		}