This documentation is archived and is not being maintained.

IDataReader.Depth Property

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

[Visual Basic]
ReadOnly Property Depth As Integer
[C#]
int Depth {get;}
[C++]
__property int get_Depth();
[JScript]
function get Depth() : int;

Property Value

The level of nesting.

Remarks

The outermost table has a depth of zero.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

See Also

IDataReader Interface | IDataReader Members | System.Data Namespace

Show: