Lists all files (not subdirectories) in the directory. This method never returns null (throws {@link IOException} instead).
does not exist, or does exist but is not a directory.

Namespace: Lucene.Net.Store
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1

Syntax

C#
[ObsoleteAttribute("Use the method that takes a DirectoryInfo, this will be removed in the 3.0 release")]
public static string[] ListAll(
	FileInfo dir
)
Visual Basic
<ObsoleteAttribute("Use the method that takes a DirectoryInfo, this will be removed in the 3.0 release")> _
Public Shared Function ListAll ( _
	dir As FileInfo _
) As String()
Visual C++
[ObsoleteAttribute(L"Use the method that takes a DirectoryInfo, this will be removed in the 3.0 release")]
public:
static array<String^>^ ListAll(
	FileInfo^ dir
)

Parameters

dir
Type: System.IO..::..FileInfo

[Missing <param name="dir"/> documentation for "M:Lucene.Net.Store.FSDirectory.ListAll(System.IO.FileInfo)"]

Return Value

[Missing <returns> documentation for "M:Lucene.Net.Store.FSDirectory.ListAll(System.IO.FileInfo)"]

See Also