MoveRootIOD method (ILEADDicomDS)

VB.NET example

C# example

Visual Basic example

Visual C++ 6.0 example

 

Syntax

short MoveRootIOD ();

Overview

Refer to Working with Information Object Definitions.

Remarks

Updates the CurrentIOD property to the root of the item specified in the CurrentIOD property.

The root is the Level 0 ancestor of the item specified in the CurrentIOD property. If the CurrentIOD property specifies an item on Level 0, the CurrentIOD property will be updated with the same item . Please note that the numbering of the items in this illustration is arbitrary and does not imply order.

image\GetRoot.gif

If the CurrentIOD property contains:

The CurrentIOD property willl be updated with :

Item 1

Item 2

Item 3

Item 2

Item 4

Item4

Item 5

Item 6

The following methods will also help you navigate the IOD Structure:

MoveFirstIOD method

MoveLastIOD method

MoveNextIOD method

MoveParentIOD method

MoveChildIOD method

Note: Visual Basic users can either check the return value of the method, or capture and process errors to determine whether the MovexxxIOD methods have completed successfully. For an example of capturing errors, refer to any of the MovexxxIOD method examples.

See Also

Elements:

MoveFirstIOD method, MoveLastIOD method, MoveNextIOD method, MovePrevIOD method, MoveParentIOD method, MoveChildIOD method

Topics:

Information Object Definitions: Maneuvering Through the IOD Table