RAD Studio VCL Reference
IActionFieldValue.FileCount Property

Indicates the number of file references that the Files property lists.

property FileCount: Integer;
__property int FileCount;

Read FileCount to determine how many file references are assigned to the adapter field. FileCount provides an upper bound to the index on the Files property. 

When FileCount is zero, there is no file reference assigned to the adapter field. This can be because the field's value is not a file reference, or because the field's value is not assigned. 

When FileCount is greater than 1, the adapter field is associated with multiple field references. In this case, the first reference (the one with index 0) is the selected value (the one assigned to the field). 


Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!