System.Xml.XmlChildNodes.Item C# (CSharp) Méthode

Item() public méthode

public Item ( int i ) : XmlNode
i int
Résultat XmlNode
        public override XmlNode Item( int i ) {
            // Out of range indexes return a null XmlNode
            if (i < 0)
                return null;
            for (XmlNode n = container.FirstChild; n != null; n = n.NextSibling, i--) {
                if (i == 0)
                    return n;
            }
            return null;
        }