BindingSource Constructor (Object, String)

 
System_CAPS_noteNote

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

Initializes a new instance of the BindingSource class with the specified data source and data member.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

Public Sub New (
	dataSource As Object,
	dataMember As String
)

Parameters

dataSource
Type: System.Object

The data source for the BindingSource.

dataMember
Type: System.String

The specific column or list name within the data source to bind to.

.NET Framework
Available since 2.0
Return to top
Show: