MSBuildFileSystemBase.EnumerateFileSystemEntries Method

Definition

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

Returns

Applies to