Share via


ModelingBindingSource Constructors

Definition

Overloads

ModelingBindingSource()

Initializes a new instance of the Microsoft.VisualStudio.Modeling.Design.ModelingBindingSource class to the default property values.

ModelingBindingSource(IContainer)

Initializes a new instance of the Microsoft.VisualStudio.Modeling.Design.ModelingBindingSource class and adds newly created ModelingBindingSource object to the specified container.

ModelingBindingSource(Object, String)

Initializes a new instance of the Microsoft.VisualStudio.Modeling.Design.ModelingBindingSource class with the specified data source and data member.

ModelingBindingSource()

Initializes a new instance of the Microsoft.VisualStudio.Modeling.Design.ModelingBindingSource class to the default property values.

public:
 ModelingBindingSource();
public ModelingBindingSource ();
Public Sub New ()

Applies to

ModelingBindingSource(IContainer)

Initializes a new instance of the Microsoft.VisualStudio.Modeling.Design.ModelingBindingSource class and adds newly created ModelingBindingSource object to the specified container.

public:
 ModelingBindingSource(System::ComponentModel::IContainer ^ container);
public ModelingBindingSource (System.ComponentModel.IContainer container);
new Microsoft.VisualStudio.Modeling.Design.ModelingBindingSource : System.ComponentModel.IContainer -> Microsoft.VisualStudio.Modeling.Design.ModelingBindingSource
Public Sub New (container As IContainer)

Parameters

container
IContainer

The System.ComponentModel.IContainer object where to add the current ModelingBindingSource object to.

Applies to

ModelingBindingSource(Object, String)

Initializes a new instance of the Microsoft.VisualStudio.Modeling.Design.ModelingBindingSource class with the specified data source and data member.

public:
 ModelingBindingSource(System::Object ^ dataSource, System::String ^ dataMember);
public ModelingBindingSource (object dataSource, string dataMember);
new Microsoft.VisualStudio.Modeling.Design.ModelingBindingSource : obj * string -> Microsoft.VisualStudio.Modeling.Design.ModelingBindingSource
Public Sub New (dataSource As Object, dataMember As String)

Parameters

dataSource
Object

The data source object associated with ModelingBindingSource object.

dataMember
String

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

Applies to