IAccessor.GetBindings(Int32, Int32, Int32, IntPtr) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
傳回存取子中的繫結。
public:
void GetBindings(int hAccessor, [Runtime::InteropServices::Out] int % accessorFlags, [Runtime::InteropServices::Out] int % cBindings, [Runtime::InteropServices::Out] IntPtr % rgBindings);
public void GetBindings (int hAccessor, out int accessorFlags, out int cBindings, out IntPtr rgBindings);
abstract member GetBindings : int * int * int * nativeint -> unit
Public Sub GetBindings (hAccessor As Integer, ByRef accessorFlags As Integer, ByRef cBindings As Integer, ByRef rgBindings As IntPtr)
參數
- hAccessor
- Int32
要傳回繫結之存取子的控制代碼。
- accessorFlags
- Int32
要在其中傳回位元遮罩的記憶體指標,這個位元遮罩描述存取子的屬性和它的用法。
- cBindings
- Int32
要在其中傳回存取子中繫結數目的記憶體指標。
- rgBindings
-
IntPtr
nativeint
要在其中傳回 DBBINDSTATUS
結構陣列的記憶體指標。
備註
注意
Microsoft.VisualBasic.Compatibility.VB6 命名空間中的函式和物件都是供這些工具使用,以便從 Visual Basic 6.0 升級至 Visual Basic。 在大多數情況下,這些函式和物件會複製在 .NET Framework 其他命名空間中可以找到的功能。 只有當 Visual Basic 6.0 程式碼模型與 .NET Framework 實作有顯著差異時,才會需要這些函式和物件。