GetElementLevel method (ILEADDicomDS)

VB.NET example

C# example

Visual Basic example

Visual C++ 6.0 example

 

Syntax

long GetElementLevel ();

Overview

Refer to Working with Data Sets.

Remarks

Returns a value that indicates the level at which the element specified in the CurrentElement property is located, within the Data Set.

This method requires that the Data Set is evaluated as a tree.

The following illustration gives an example:

image\GetLevel.gif

If the CurrentElement property contains:

The method returns

Item 1

0

Item 2

1

Item 3

2

See Also

Topics:

Data Sets: Getting and Setting Data Set Information