System.Xml.XmlBaseReader.GetOpenElements C# (CSharp) Method

GetOpenElements() public method

public GetOpenElements ( ) : string
return string
        public string GetOpenElements()
        {
            string s = string.Empty;
            for (int i = _depth; i > 0; i--)
            {
                string localName = _elementNodes[i].LocalName.GetString();
                if (i != _depth)
                    s += ", ";
                s += localName;
            }
            return s;
        }