点击或拖拽改变大小

Functions.FieldPutBytes 方法

X#
Write an array of bytes direct to the workarea buffer.

命名空间:  XSharp.RT
程序集:  XSharp.RT (在 XSharp.RT.dll 中) 版本:2.22 GA
语法
 FUNCTION FieldPutBytes(
	nFieldPos AS USUAL,
	aBytes AS BYTE[]
) AS USUAL
查看代码

参数

nFieldPos
类型:__Usual
The position OF the FIELD IN the database file structure.
aBytes
类型:Byte
The value to write to the field

返回值

类型:__Usual
The value assigned TO the field. IF nFieldPos does not correspond to the position of any field in the database file, FieldPutBytes() will generate an error.
备注
This will only work for DBF based workareas (not for Advantage workareas)
参见