[This is preliminary documentation and is subject to change.]
Walks all file names that match the pattern in a directory
Namespace: NFXAssembly: NFX (in NFX.dll) Version: 3.0.0.1 (3.0.0.1)
public static IEnumerable<string> AllFileNamesThatMatch(
this string fromFolder,
string pattern,
bool recurse
)
public static IEnumerable<string> AllFileNamesThatMatch(
this string fromFolder,
string pattern,
bool recurse
)
<ExtensionAttribute>
Public Shared Function AllFileNamesThatMatch (
fromFolder As String,
pattern As String,
recurse As Boolean
) As IEnumerable(Of String)
<ExtensionAttribute>
Public Shared Function AllFileNamesThatMatch (
fromFolder As String,
pattern As String,
recurse As Boolean
) As IEnumerable(Of String)
public:
[ExtensionAttribute]
static IEnumerable<String^>^ AllFileNamesThatMatch(
String^ fromFolder,
String^ pattern,
bool recurse
)
public:
[ExtensionAttribute]
static IEnumerable<String^>^ AllFileNamesThatMatch(
String^ fromFolder,
String^ pattern,
bool recurse
)
static member AllFileNamesThatMatch :
fromFolder : string *
pattern : string *
recurse : bool -> IEnumerable<string>
static member AllFileNamesThatMatch :
fromFolder : string *
pattern : 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).