System.Xml.Xsl.Runtime.XmlILIndex.Lookup C# (CSharp) Метод

Lookup() публичный Метод

Lookup a sequence of nodes that are indexed by the specified key value. Return a non-null empty sequence, if there are no nodes associated with the key.
public Lookup ( string key ) : XmlQueryNodeSequence
key string
Результат XmlQueryNodeSequence
        public XmlQueryNodeSequence Lookup(string key) {
            XmlQueryNodeSequence seq = (XmlQueryNodeSequence) this.table[key];

            if (seq == null)
                seq = new XmlQueryNodeSequence();

            return seq;
        }
    }