IRowsetChange.InsertRow(Int32, Int32, IntPtr, Int32) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
建立並初始化一列新資料列。
public:
void InsertRow(int hChapterReserved, int hAccessor, IntPtr pData, [Runtime::InteropServices::Out] int % hRow);
public void InsertRow(int hChapterReserved, int hAccessor, IntPtr pData, out int hRow);
abstract member InsertRow : int * int * nativeint * int -> unit
Public Sub InsertRow (hChapterReserved As Integer, hAccessor As Integer, pData As IntPtr, ByRef hRow As Integer)
參數
- hChapterReserved
- Int32
章節控制代碼。
- hAccessor
- Int32
存取器的把手要使用。
- pData
-
IntPtr
nativeint
一個指向記憶體的指標,包含新資料值,偏移量對應於該存取器的綁定。
- hRow
- Int32
一個指向記憶體的指標,用來回傳新列的 handle。
備註
Note
Microsoft.VisualBasic.Compatibility.VB6 命名空間中的函式與物件,供工具從 Visual Basic 6.0 升級至 Visual Basic 2008 使用。 大多數情況下,這些函式和物件會重複你在 .NET Framework 中其他命名空間中能找到的功能。 只有當 Visual Basic 6.0 的程式碼模型與 .NET Framework 實作有顯著差異時,才需要使用這些工具。