System.Xml.XsdCachingReader.MoveToAttribute C# (CSharp) Méthode

MoveToAttribute() public méthode

public MoveToAttribute ( string name ) : bool
name string
Résultat bool
        public override bool MoveToAttribute(string name)
        {
            int i;
            if (name.IndexOf(':') == -1)
            {
                i = GetAttributeIndexWithoutPrefix(name);
            }
            else
            {
                i = GetAttributeIndexWithPrefix(name);
            }

            if (i >= 0)
            {
                _currentAttrIndex = i;
                _cachedNode = _attributeEvents[i];
                return true;
            }
            else
            {
                return false;
            }
        }

Same methods

XsdCachingReader::MoveToAttribute ( string name, string ns ) : bool
XsdCachingReader::MoveToAttribute ( int i ) : void