'Declaration Public Overloads Function GetFiles( _ ByVal events As FileSystemEvents, _ ByVal userData As Object, _ ByVal recursive As Boolean, _ ByVal ParamArray filters() As Object _ ) As AbstractFile()
'Usage Dim instance As AbstractFolder Dim events As FileSystemEvents Dim userData As Object Dim recursive As Boolean Dim filters() As Object Dim value() As AbstractFile value = instance.GetFiles(events, userData, recursive, filters)
public AbstractFile[] GetFiles( FileSystemEvents events, object userData, bool recursive, params object[] filters )
Parameters
- events
- A FileSystemEvents object that will be used to raise events. Cannot be a null reference (Nothing in Visual Basic).
- userData
- Opaque data that will be passed back to the event handler when an event is raised.
- recursive
- true if files contained in the subfolders should be returned; false if only files that are immediate children of the folder should be returned.
- filters
- An array of objects that can be used to filter the list of files returned.
Return Value
An array of AbstractFile objects representing the files that match the specified filters.