Is there any function / module for an object of type List
in VB.NET that is similar to array_map()
of PHP?
The idea is to create a new variable with elements that satisfy a given condition.
I have a list of objects of type FtpListItem
, and I only need the files where the modification date is greater than the UltimoHorario
variable. Function example:
Function ValidarArquivo(arquivo As FtpListItem)
If arquivo.Modified.Compare(UltimoHorario) > 0 Then
Return True
End If
End Function