Rediger

Del via


DBindingCollection.Add Method

Definition

public Microsoft.VisualBasic.Compatibility.VB6.DBinding Add (object obj, string propertyName, string dataField, Microsoft.VisualBasic.Compatibility.VB6.IDataFormatDisp dataFormat = default, string key = default);
abstract member Add : obj * string * string * Microsoft.VisualBasic.Compatibility.VB6.IDataFormatDisp * string -> Microsoft.VisualBasic.Compatibility.VB6.DBinding
Public Function Add (obj As Object, propertyName As String, dataField As String, Optional dataFormat As IDataFormatDisp = Nothing, Optional key As String = Nothing) As DBinding

Parameters

obj
Object

An Object that contains data.

propertyName
String

A String that contains a property name.

dataField
String

A String that contains the name of a data field.

dataFormat
IDataFormatDisp

Optional. An IDataFormatDisp interface.

key
String

Optional. A String that contains the key value.

Returns

A DBinding interface.

Remarks

Note

Functions and objects in the Microsoft.VisualBasic.Compatibility.VB6 namespace are provided for use by the tools for upgrading from Visual Basic 6.0 to Visual Basic 2008. In most cases, these functions and objects duplicate functionality that you can find in other namespaces in the .NET Framework. They are necessary only when the Visual Basic 6.0 code model differs significantly from the .NET Framework implementation.

Applies to