THPDFWindowsFormDataTransaction.PreparedFieldCount

function PreparedFieldCount: Integer;

ImportData、ImportDataWithFamilies 或 FillTypedData 成功后,返回实际单独加载的候选中的字段数;这是完整的已准备字段数,而不是更新条数

该方法会轮询事务取消状态;在准备成功之前或 TakeCandidate 之后调用会抛出 EInvalidOpException

读取该计数不会转移或发布候选;要用 GetPreparedField 按零基索引读取 Unicode 字段值,并且只在所需的发布步骤都成功后再提交

GetPreparedField、FillTypedData、事务类