DirectoryInfo: GetFileSystemInfos

GetFileSystemInfos

Returns a list of all entries in the directory that match the pattern.



 Public Function GetFileSystemInfos(
	  Optional ByVal SearchPattern As String = "*" ) As FileSystemInfo ( )

Parameters

SearchPattern
[ByVal] Optional. String. The pattern to match against all entries.  

Default: "*"

Return Values

FileSystemInfo() -  A list of all entries that matched the pattern.

Remarks

If no entries matched the pattern, a zero-length array is returned.

See Also

Project VBCorLib Overview Class DirectoryInfo Overview DirectoryInfo Properties DirectoryInfo Methods GetFiles GetHashCode