[This is preliminary documentation and is subject to change.]
Walks all file names in a directory
Namespace: NFXAssembly: NFX (in NFX.dll) Version: 3.0.0.1 (3.0.0.1)
public static IEnumerable<string> AllFileNames(
this string fromFolder,
bool recurse
)
public static IEnumerable<string> AllFileNames(
this string fromFolder,
bool recurse
)
<ExtensionAttribute>
Public Shared Function AllFileNames (
fromFolder As String,
recurse As Boolean
) As IEnumerable(Of String)
<ExtensionAttribute>
Public Shared Function AllFileNames (
fromFolder As String,
recurse As Boolean
) As IEnumerable(Of String)
public:
[ExtensionAttribute]
static IEnumerable<String^>^ AllFileNames(
String^ fromFolder,
bool recurse
)
public:
[ExtensionAttribute]
static IEnumerable<String^>^ AllFileNames(
String^ fromFolder,
bool recurse
)
static member AllFileNames :
fromFolder : string *
recurse : bool -> IEnumerable<string>
static member AllFileNames :
fromFolder : string *
recurse : bool -> IEnumerable<string>
Return Value
Type:
IEnumerable
String Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
String. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).