点击或拖拽改变大小

FoxArray.DeleteColumn Method

X#
Delete a column from a multi dimensional array.

命名空间:  XSharp
程序集:  XSharp.VFP (在 XSharp.VFP.dll 中) 版本:2.24 GA
Syntax
 METHOD DeleteColumn(
	nColumn AS LONG
) AS FOXARRAY
Request Example 查看代码

Parameters

nColumn
类型:Long
1 based column number to delete

Return Value

类型:FoxArray
备注
When no columns are defined then nothing happens.
When an array has columns then the elements are deleted and shifted.
Assume a 4 x 4 array. When DeleteColumn() is called with column 2 then the elements 2,6,10 and 14 are deleted and the elements 3 & 4, 7 & 8, 11 & 12 and 15 & 16 are shifted to the left. New empty elements are inserted on locations 4,8,12 and 16.
See Also