this.(x) 只是获取值吗?

Does this.(x) just get the value?

谁能解释一下 this.(x) 是什么意思,x 已经在这个对象中了。

if (!this.(x))
{
    ok = checkFailed(strfmt("@SYS54774",fieldid2pname(this.TableId, x)));
}

您可以使用 table 上的字段 ID 以这种方式检查 table 上的字段。 在您的示例中,您正在访问具有 x 作为 fieldNum 的字段。 比如1是salesTable上SalesId的fieldid,那么可以这样设置SalesId:

SalesTable salesTable;
int x = 1;
salesTable.(x) = 'a sales  id';