Skip to main content

TdxCloudStorageFolderChildren.FindFileByName(string) Method

Returns the first file with the specified name.

Declaration

function FindFileByName(const Value: string): TdxCloudStorageFile;

Parameters

Name Type Description
Value string

The target file’s name (case-insensitive).

Returns

Type Description
TdxCloudStorageFile

A file metadata container.

Remarks

Call this procedure and pass a file name as the Value parameter to search for this file in a cloud folder. The FindFileByName function returns nil (in Delphi) or nullptr/NULL (in C++Builder) if the cloud folder has no file with the specified name.

Note

Call the FindFolderByName function to search a nested folder in a cloud folder.

See Also