共用方式為


IRowsetInfo.GetProperties(Int32, DBPROPIDSET[], Int32, IntPtr) 方法

定義

傳回資料列集 (Rowset) 支援之所有屬性的目前設定。

public:
 void GetProperties(int cPropertyIDSets, cli::array <Microsoft::VisualBasic::Compatibility::VB6::DBPROPIDSET> ^ rgPropertyIDSets, [Runtime::InteropServices::Out] int % cPropertySets, [Runtime::InteropServices::Out] IntPtr % prgPropertySets);
public void GetProperties (int cPropertyIDSets, Microsoft.VisualBasic.Compatibility.VB6.DBPROPIDSET[] rgPropertyIDSets, out int cPropertySets, out IntPtr prgPropertySets);
abstract member GetProperties : int * Microsoft.VisualBasic.Compatibility.VB6.DBPROPIDSET[] * int * nativeint -> unit
Public Sub GetProperties (cPropertyIDSets As Integer, rgPropertyIDSets As DBPROPIDSET(), ByRef cPropertySets As Integer, ByRef prgPropertySets As IntPtr)

參數

cPropertyIDSets
Int32

rgPropertyIDSets 中的 DBPROPIDSET 結構數目。

rgPropertyIDSets
DBPROPIDSET[]

DBPROPIDSET 結構的陣列。

cPropertySets
Int32

記憶體指標,要在其中傳回 prgPropertySets 中傳回的 DBPROPSET 結構數目。

prgPropertySets
IntPtr

nativeint

要在其中傳回 DBPROPSET 結構陣列的記憶體指標。

備註

注意

Microsoft.VisualBasic.Compatibility.VB6 命名空間中的函式和物件都是供這些工具使用,以便從 Visual Basic 6.0 升級至 Visual Basic。 在大多數情況下,這些函式和物件會複製在 .NET Framework 其他命名空間中可以找到的功能。 只有當 Visual Basic 6.0 程式碼模型與 .NET Framework 實作有顯著差異時,才會需要這些函式和物件。

適用於