MSBuildFileSystemBase.EnumerateFileSystemEntries Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Use this for Directory.EnumerateFileSystemEntries(path, pattern, option)
public abstract System.Collections.Generic.IEnumerable<string> EnumerateFileSystemEntries (string path, string searchPattern = "*", System.IO.SearchOption searchOption = System.IO.SearchOption.TopDirectoryOnly);
public virtual System.Collections.Generic.IEnumerable<string> EnumerateFileSystemEntries (string path, string searchPattern = "*", System.IO.SearchOption searchOption = System.IO.SearchOption.TopDirectoryOnly);
abstract member EnumerateFileSystemEntries : string * string * System.IO.SearchOption -> seq<string>
abstract member EnumerateFileSystemEntries : string * string * System.IO.SearchOption -> seq<string>
override this.EnumerateFileSystemEntries : string * string * System.IO.SearchOption -> seq<string>
Public MustOverride Function EnumerateFileSystemEntries (path As String, Optional searchPattern As String = "*", Optional searchOption As SearchOption = System.IO.SearchOption.TopDirectoryOnly) As IEnumerable(Of String)
Public Overridable Function EnumerateFileSystemEntries (path As String, Optional searchPattern As String = "*", Optional searchOption As SearchOption = System.IO.SearchOption.TopDirectoryOnly) As IEnumerable(Of String)
Parameters
- path
- String
- searchPattern
- String
- searchOption
- SearchOption