Monobjc.Tools.Generator.Parsers.Sgml.Node.RemoveAttribute C# (CSharp) Method

RemoveAttribute() private method

private RemoveAttribute ( string name ) : void
name string
return void
        public void RemoveAttribute(string name)
        {
            for (int i = 0, n = this.attributes.Count; i < n; i++)
            {
                Attribute a = (Attribute) this.attributes[i];
                if (string.Equals(a.Name, name, StringComparison.OrdinalIgnoreCase))
                {
                    this.attributes.RemoveAt(i);
                    return;
                }
            }
        }