RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomAdapterFileField.GetFileNames Method

Returns the count of files associated with this adapter field.

Pascal
function GetFileNames(I: Integer): string;
C++
__fastcall AnsiString GetFileNames(int I);

GetFileNames implements the FileNames property. If the EchoActionFieldValue flag is true then the filename is extracted from the HTTP request. Otherwise, the OnGetFileNames event is called. GetFileNames returns and empty string if a value can't be found because OnGetFileNames is nil (Delphi) or NULL (C++) or the HTTP request does not contain a filename for this adapter field. 

 

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