Functions.FieldPosSym 方法 |
命名空间: XSharp.RT
FUNCTION FieldPosSym( sFieldName AS SYMBOL ) AS DWORD
public static uint FieldPosSym( __Symbol sFieldName )
1USE customer NEW 2QOut(FieldPosSym(#Name)) // 结果: 1 3QOut(FieldGet(FieldPosSym(#NAME))) // 结果: Kate
1USE customer NEW 2USE invoices NEW 3QOut(Customer->FieldPosSym(#Name)) // 结果: 1 4QOut(Customer->FieldGet(FieldPosSym(#Name))) // 结果: Kate