RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomAdapterMultiValueField.GetValueCount Method

Returns the number of values associated with this adapter field.

Pascal
function GetValueCount: Integer; override;
C++
virtual __fastcall int GetValueCount();

GetValueCount implements the ValueCount property. If the EchoActionFieldValue flag is true then the result is extracted from the HTTP request. Otherwise, the OnGetValueCount event is called. GetValueCount returns zero if a value can't be found because OnGetValueCount is nil (Delphi) or NULL (C++) or the HTTP request does not contain a value for this adapter field. 

 

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