Edit

Share via


IDataFormat.GetBinding Method

Definition

Gets a binding for a IDataFormat.

This API supports the product infrastructure and is not intended to be used directly from your code.

public:
 void GetBinding(System::Runtime::InteropServices::VarEnum vtPropHint, int rgfDataFormat, Microsoft::VisualBasic::Compatibility::VB6::IRowset ^ rowset, Microsoft::VisualBasic::Compatibility::VB6::DBCOLUMNINFO % columnInfo, [Runtime::InteropServices::Out] Microsoft::VisualBasic::Compatibility::VB6::DBBINDING % binding, [Runtime::InteropServices::Out] int % size, [Runtime::InteropServices::Out] int % cookie);
public void GetBinding (System.Runtime.InteropServices.VarEnum vtPropHint, int rgfDataFormat, Microsoft.VisualBasic.Compatibility.VB6.IRowset rowset, ref Microsoft.VisualBasic.Compatibility.VB6.DBCOLUMNINFO columnInfo, out Microsoft.VisualBasic.Compatibility.VB6.DBBINDING binding, out int size, out int cookie);
abstract member GetBinding : System.Runtime.InteropServices.VarEnum * int * Microsoft.VisualBasic.Compatibility.VB6.IRowset * DBCOLUMNINFO * DBBINDING * int * int -> unit
Public Sub GetBinding (vtPropHint As VarEnum, rgfDataFormat As Integer, rowset As IRowset, ByRef columnInfo As DBCOLUMNINFO, ByRef binding As DBBINDING, ByRef size As Integer, ByRef cookie As Integer)

Parameters

vtPropHint
VarEnum

A VarEnum.

rgfDataFormat
Int32

An Integer.

rowset
IRowset

An IRowset.

columnInfo
DBCOLUMNINFO

A DBCOLUMNINFO structure.

binding
DBBINDING

A DBBINDING structure.

size
Int32

An Integer.

cookie
Int32

An Integer.

Remarks

The IDataFormat interface is used internally by the tools for upgrading Visual Basic 6.0 applications to Visual Basic.

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