DbDataReader.VisibleFieldCount Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the number of fields in the DbDataReader that are not hidden.
public:
virtual property int VisibleFieldCount { int get(); };
public virtual int VisibleFieldCount { get; }
member this.VisibleFieldCount : int
Public Overridable ReadOnly Property VisibleFieldCount As Integer
Property Value
The number of fields that are not hidden.
Remarks
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.
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om