Show: Delphi
C++
Display Preferences
AdaptReq.IActionFieldValue.ValueCount
From XE2 API Documentation
Delphi
property ValueCount: Integer read GetValueCount;
C++
__property int ValueCount = {read=GetValueCount};
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| property | public | AdaptReq.pas AdaptReq.hpp |
AdaptReq | IActionFieldValue |
Description
Indicates the number of values that the Values property lists.
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).