System.Xml.XmlAttributeCollection.this C# (CSharp) Method

this() private method

private this ( string name ) : XmlAttribute
name string
return XmlAttribute
        public XmlAttribute this[ string name ]
        {
            get { 
                ArrayList nodes = this.Nodes;
                int hash = XmlName.GetHashCode(name);
                
                for (int i = 0; i < nodes.Count; i++) {
                    XmlAttribute node = (XmlAttribute) nodes[i];

                    if (hash == node.LocalNameHash
                        && name == node.Name )
                    {
                        return node;
                    }
                }

                return null;
            }
        }

Same methods

XmlAttributeCollection::this ( int i ) : XmlAttribute
XmlAttributeCollection::this ( string localName, string namespaceURI ) : XmlAttribute