__FoxArray.DeleteColumn 方法 | |
Delete a column from a multi dimensional array.
命名空间:
XSharp
程序集:
XSharp.VFP (在 XSharp.VFP.dll 中) 版本:2.22 GA
语法 METHOD DeleteColumn(
nColumn AS LONG
) AS FOXARRAY
public __FoxArray DeleteColumn(
int nColumn
)
查看代码参数
- nColumn
- 类型:Int32
1 based column number to delete
返回值
类型:
__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.
参见