System.Xml.XmlDocument.GetIDInfoByElement_ C# (CSharp) Method

GetIDInfoByElement_() private method

private GetIDInfoByElement_ ( XmlName eleName ) : XmlName
eleName XmlName
return XmlName
        private XmlName GetIDInfoByElement_(XmlName eleName)
        {
            //When XmlDocument is getting the IDAttribute for a given element, 
            //we need only compare the prefix and localname of element.XmlName with
            //the registered htElementIDAttrDecl.
            XmlName newName = GetXmlName(eleName.Prefix, eleName.LocalName, string.Empty, null);
            if (newName != null)
            {
                return (XmlName)(_htElementIDAttrDecl[newName]);
            }
            return null;
        }