Share via


MoveToElement (Compact 2013)

3/26/2014

This interface moves the reader to the element that owns the current attribute node. After moving through the attributes on an element, you can use this method to return the reader 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.

See Also

Reference

IXmlReader Methods
IXmlReader Properties
Error Codes