System.Windows.Forms.BindingManagerBase.Current Property

When overridden in a derived class, gets the current object.

Syntax

public abstract object Current { get; }

Value

Documentation for this section has not yet been entered.

Remarks

The BindingManagerBase.Current object contains the value of the current item in the data source. To use the value of the current item, you must cast the item to the Type of the object contained by the Binding.DataSource. For example, a System.Data.DataTable contains System.Data.DataRowView objects. To determine the type of the current object, use the object.GetType and Type.ToString methods.

Note:

When the Binding.DataSource is a System.Data.DataSet, System.Data.DataViewManager, or System.Data.DataTable, you are actually binding to a System.Data.DataView. Consequently, each BindingManagerBase.Current object is a System.Data.DataRowView object.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0