VisibleFieldCount Property
Collapse the table of content
Expand the table of content

DbDataReader::VisibleFieldCount Property

 

Gets the number of fields in the DbDataReader that are not hidden.

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

public:
property int VisibleFieldCount {
	virtual int get();
}

Property Value

Type: System::Int32

The number of fields that are not hidden.

This value is used to determine how many fields in the DbDataReader are visible. For example, a SELECT on a partial primary key returns the remaining parts of the key as hidden fields. The hidden fields are always appended behind the visible fields.

Universal Windows Platform
Available since 10
.NET Framework
Available since 2.0
Return to top
Show:
© 2016 Microsoft