RAD Studio VCL Reference
IActionFieldValue.ValueCount Property

Indicates the number of values that the Values property lists.

property ValueCount: Integer;
__property int ValueCount;

Read ValueCount to determine how many values are assigned to the adapter field. ValueCount provides an upper bound to the index on the Values property. 

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

When ValueCount is greater than 1, the adapter field is associated with multiple values. 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!