Partager via


ModelingBindingSource Constructor (Object, String)

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

Namespace:  Microsoft.VisualStudio.Modeling.Design
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)

Syntax

'Declaration
Public Sub New ( _
    dataSource As Object, _
    dataMember As String _
)
public ModelingBindingSource(
    Object dataSource,
    string dataMember
)
public:
ModelingBindingSource(
    Object^ dataSource, 
    String^ dataMember
)
new : 
        dataSource:Object * 
        dataMember:string -> ModelingBindingSource
public function ModelingBindingSource(
    dataSource : Object, 
    dataMember : String
)

Parameters

  • dataSource
    Type: System.Object

    The data source object associated with ModelingBindingSource object.

  • dataMember
    Type: System.String

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

.NET Framework Security

See Also

Reference

ModelingBindingSource Class

ModelingBindingSource Overload

Microsoft.VisualStudio.Modeling.Design Namespace