다음을 통해 공유


MoveToElement

 

Moves to the element that owns the current attribute node. After navigating through the attributes on an element, use this method to move the reader back to the element.

Syntax

  
HRESULT MoveToElement ();  

Return Value

Returns S_OK if no error is generated.

Remarks

This method behaves the same way for attributes of elements within the document itself, attributes of an XmlNodeType_XmlDeclaration, and attributes of an XmlNodeType_DocumentType declaration.

Requirements

Header: XmlLite.h

Library: XmlLite.lib

See Also

IXmlReader Methods