RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomAdapterFileField.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 FileCount property. If the EchoActionFieldValue flag is true then the result is the number of values in the HTTP request for this adapter field. Otherwise, the OnGetFileCount event is called. GetValueCount returns zero if a value can't be found because OnGetFileCount is nil (Delphi) or NULL (C++) or the HTTP request does not contain a value for this adapter field. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!