Acme.Northwind.Install.XmlHelper.RemoveAttribute C# (CSharp) 메소드

RemoveAttribute() 공개 정적인 메소드

Removes an attribute from a node
public static RemoveAttribute ( XmlElement element, string attributeName ) : void
element XmlElement
attributeName string
리턴 void
		public static void RemoveAttribute(XmlElement element, string attributeName)
		{
			XmlAttribute attribute = null;
			attribute = (XmlAttribute)element.Attributes.GetNamedItem(attributeName);
			element.Attributes.Remove(attribute);
		}