System.Xml.XmlNodeReaderImpl.XmlNodeReaderImpl.MoveToAttribute C# (CSharp) Method

MoveToAttribute() public method

public MoveToAttribute ( int attributeIndex ) : void
attributeIndex int
return void
		public override void MoveToAttribute (int attributeIndex)
		{
			if (isEndElement || attributeIndex < 0 || attributeIndex > AttributeCount)
				throw new ArgumentOutOfRangeException ();
			
			state = ReadState.Interactive;
			current = ownerLinkedNode.Attributes [attributeIndex];
		}

Same methods

XmlNodeReaderImpl.XmlNodeReaderImpl::MoveToAttribute ( string name ) : bool
XmlNodeReaderImpl.XmlNodeReaderImpl::MoveToAttribute ( string name, string namespaceURI ) : bool