System.Xml.XmlBaseReader.MoveToInitial C# (CSharp) Méthode

MoveToInitial() protected méthode

protected MoveToInitial ( XmlDictionaryReaderQuotas quotas ) : void
quotas XmlDictionaryReaderQuotas
Résultat void
        protected void MoveToInitial(XmlDictionaryReaderQuotas quotas)
        {
            if (quotas == null)
                throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull(nameof(quotas));

            quotas.InternalCopyTo(_quotas);
            _quotas.MakeReadOnly();
            _nsMgr.Clear();
            _depth = 0;
            _attributeCount = 0;
            _attributeStart = -1;
            _attributeIndex = -1;
            _rootElement = false;
            _readingElement = false;
            MoveToNode(s_initialNode);
        }