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

定义

返回行集合支持的所有属性的当前设置。Returns the current settings of all properties supported by the 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 结构数。The number of DBPROPIDSET structures in rgPropertyIDSets.

rgPropertyIDSets
DBPROPIDSET[]

DBPROPIDSET 结构的数组。An array of DBPROPIDSET structures.

cPropertySets
Int32

一个指向内存的指针,该内存用于返回在 prgPropertySets 中返回的 DBPROPSET 结构数。A pointer to memory in which to return the number of DBPROPSET structures returned in prgPropertySets.

prgPropertySets
IntPtr

一个指向内存的指针,该内存用于返回 DBPROPSET 结构的数组。A pointer to memory in which to return an array of DBPROPSET structures.

注解

备注

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.

适用于