System.Xml.Xsl.XsltOld.Key.GetKeys C# (CSharp) Method

GetKeys() public method

public GetKeys ( XPathNavigator root ) : Hashtable
root System.Xml.XPath.XPathNavigator
return System.Collections.Hashtable
        public Hashtable GetKeys(XPathNavigator root) {
            if (this.keyNodes != null) {
                for(int i=0; i < keyNodes.Count; i++) {
                    if (((DocumentKeyList)keyNodes[i]).RootNav.IsSamePosition(root)) {
                        return ((DocumentKeyList)keyNodes[i]).KeyTable;
                    }
                }
            }
            return null;
        }