System.Xml.XmlBaseReader.NamespaceManager.Clear C# (CSharp) Method

Clear() public method

public Clear ( ) : void
return void
            public void Clear()
            {
                if (_nsCount != 0)
                {
                    if (_shortPrefixUri != null)
                    {
                        for (int i = 0; i < _shortPrefixUri.Length; i++)
                        {
                            _shortPrefixUri[i] = null;
                        }
                    }
                    _shortPrefixUri[(int)PrefixHandleType.Empty] = s_emptyNamespace;
                    _nsCount = 0;
                }
                _attributeCount = 0;
                _space = XmlSpace.None;
                _lang = string.Empty;
                _depth = 0;
            }