XSerializer.XSerializerXmlReader.MoveToNextAttribute C# (CSharp) Method

MoveToNextAttribute() public method

public MoveToNextAttribute ( ) : bool
return bool
        public override bool MoveToNextAttribute()
        {
            return _currentReader.MoveToNextAttribute();
        }

Usage Example

Beispiel #1
0
        internal static bool IsNil(this XSerializerXmlReader reader)
        {
            var nilFound = false;

            while (reader.MoveToNextAttribute())
            {
                if (reader.LocalName == "nil" && reader.NamespaceURI == "http://www.w3.org/2001/XMLSchema-instance")
                {
                    nilFound = true;
                    break;
                }
            }

            reader.MoveToElement();

            return(nilFound);
        }
All Usage Examples Of XSerializer.XSerializerXmlReader::MoveToNextAttribute