CoreDb.FieldInfo Method (DWord, DWord, Object)
|
|
Retrieve and optionally change information about a column.
命名空间:
XSharp
程序集:
XSharp.Core (在 XSharp.Core.dll 中) 版本:2.24 GA
Syntax STATIC METHOD FieldInfo(
nOrdinal AS DWORD,
nFldPos AS DWORD,
oRet REF Object
) AS LOGIC
public static bool FieldInfo(
uint nOrdinal,
uint nFldPos,
ref Object oRet
)
Request Example
查看代码Parameters
- nOrdinal
- 类型:DWord
Specifies the type of information. - nFldPos
- 类型:DWord
The ONE based position of the field in the database file structure. - oRet
- 类型:Object
The returnvalue is returned through this parameter. When set on entry this is the new value of the setting.
Return Value
类型:
LogicTRUE if successful; otherwise, FALSE.
备注This function is like DBFieldInfo().
这个函数,不会调用错误处理程序,因此如果失败,不会产生运行时错误消息或创建错误对象。
因此,检查返回值以确定函数是否成功是很重要的。
LastRddError 属性将包含关于发生的任何错误的必要信息。
See Also