IDataReader.Depth Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets a value indicating the depth of nesting for the current row.

Namespace:   System.Data
Assembly:  System.Data (in System.Data.dll)

int Depth { get; }

Property Value

Type: System.Int32

The level of nesting.

The outermost table has a depth of zero.

.NET Framework
Available since 1.1
Return to top