folderlistview ListItemByFileName method
Return to Introduction  Previous page  Next page
Applies to
dcFolderListView component.  

function ListItemByFileName(FileName: String): TListItem;  

The ListItemByFileName returns the list item of the dcFolderListView which represents the same file name as specified by FileName parameter.  
tip ListItemByFileName always returns correct list item, since every file (represented by list item) has unique file name.  

See also
FileNameByListItem, FileSizeByListItem, FileTypeByListItem, FileTimeByListItem and FileAttributesByListItem methods.