IAccessor.CreateAccessor(Int32, Int32, DBBINDING[], Int32, Int32, IntPtr) 方法
定义
从一组绑定创建访问器。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)
参数
- 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.
- 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
一个指向 DBBINDSTATUS 值的数组的指针。A pointer to an array of DBBINDSTATUS values.
注解
备注
Microsoft.VisualBasic.Compatibility.VB6 命名空间中的函数和对象用于工具从 Visual Basic 6.0 升级到 Visual Basic。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. 多数情况下,这些函数和对象可再现 .NET Framework 中其他命名空间的功能。In most cases, these functions and objects duplicate functionality that you can find in other namespaces in the .NET Framework. 只有当 Visual Basic 6.0 代码模型与 .NET Framework 实现有显著区别时,才必须使用这些函数和对象。They are necessary only when the Visual Basic 6.0 code model differs significantly from the .NET Framework implementation.