CoreDb.OrderInfo 方法 (UInt32, String, Object, Object) | |
Return information about index files and the orders in them.
命名空间:
XSharp
程序集:
XSharp.Core (在 XSharp.Core.dll 中) 版本:2.22 GA
语法 STATIC METHOD OrderInfo(
nOrdinal AS DWORD,
cBagName AS STRING,
oOrder AS Object,
oValue AS Object
) AS LOGIC
public static bool OrderInfo(
uint nOrdinal,
string cBagName,
Object oOrder,
Object oValue
)
查看代码参数
- nOrdinal
- 类型:UInt32
Specifies the type of information. This must match the values in the DBOI_ defines - cBagName
- 类型:String
The name of an index file, including an optional drive and directory. - oOrder
- 类型:Object
The name of the order about which you want to obtain information or a number representing its position in the order list. - oValue
- 类型:Object
If specified, this parameter is used to change the value of a setting.
返回值
类型:
BooleanTRUE if successful; otherwise, FALSE.
备注 This function is like DbOrderInfo() but strongly typed.
这个函数,不会调用错误处理程序,因此如果失败,不会产生运行时错误消息或创建错误对象。
因此,检查返回值以确定函数是否成功是很重要的。
LastRddError 属性将包含关于发生的任何错误的必要信息。
参见