System.Xml.Xsl.Runtime.XmlILIndex.Lookup C# (CSharp) Method

Lookup() public method

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
return XmlQueryNodeSequence
        public XmlQueryNodeSequence Lookup(string key) {
            XmlQueryNodeSequence seq = (XmlQueryNodeSequence) this.table[key];

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

            return seq;
        }
    }