Functions.SetCollationTable 方法 | |
Query current and/or set user defined collation table .
命名空间:
XSharp.XPP
程序集:
XSharp.XPP (在 XSharp.XPP.dll 中) 版本:2.22 GA
语法 FUNCTION SetCollationTable(
nCollation,
aTable
) AS ARRAY CLIPPER
[ClipperCallingConventionAttribute(new string[] { ... })]
public static __Array SetCollationTable(
__Usual nCollation = default,
__Usual aTable = default
)
查看代码参数
- nCollation (Optional)
- 类型:__Usual
the numeric identifier for the collation table to be selected. Must be one of the values from the XppCollations enum of a simple number - aTable (Optional)
- 类型:__Usual
a one dimensional array with 256 elements. It must contain numeric values representing the weighing factors for single characters.
The ASCII value of a character plus 1 defines the array element that contains the weighing factor for that character.
返回值
类型:
__Arraya one dimensional array holding the weighing factors of characters for the active collation.
参见