Edit

Share via


IAccessor.CreateAccessor Method

Definition

Creates an accessor from a set of bindings.

public:
 void CreateAccessor(int accessorFlags, int cBindings, cli::array <Microsoft::VisualBasic::Compatibility::VB6::DBBINDING> ^ bindings, int cbRowSize, [Runtime::InteropServices::Out] int % hAccessor, IntPtr pBindStatus);
public void CreateAccessor (int accessorFlags, int cBindings, Microsoft.VisualBasic.Compatibility.VB6.DBBINDING[] bindings, int cbRowSize, out int hAccessor, IntPtr pBindStatus);
abstract member CreateAccessor : int * int * Microsoft.VisualBasic.Compatibility.VB6.DBBINDING[] * int * int * nativeint -> unit
Public Sub CreateAccessor (accessorFlags As Integer, cBindings As Integer, bindings As DBBINDING(), cbRowSize As Integer, ByRef hAccessor As Integer, pBindStatus As IntPtr)

Parameters

accessorFlags
Int32

A bitmask that describes the properties of the accessor and how it can be used.

cBindings
Int32

The number of bindings in the accessor.

bindings
DBBINDING[]

An array of DBBINDING structures.

cbRowSize
Int32

The number of bytes allocated for a single set of parameters or criteria values in the consumer's buffer.

hAccessor
Int32

A pointer to memory in which to return the handle of the created accessor.

pBindStatus
IntPtr

nativeint

A pointer to an array of DBBINDSTATUS values.

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. 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