Compartilhar via


MSBuildFileSystemBase.EnumerateFiles(String, String, SearchOption) Method

Definition

Use this for Directory.EnumerateFiles(path, pattern, option)

public abstract System.Collections.Generic.IEnumerable<string> EnumerateFiles (string path, string searchPattern = "*", System.IO.SearchOption searchOption = System.IO.SearchOption.TopDirectoryOnly);
public virtual System.Collections.Generic.IEnumerable<string> EnumerateFiles (string path, string searchPattern = "*", System.IO.SearchOption searchOption = System.IO.SearchOption.TopDirectoryOnly);
abstract member EnumerateFiles : string * string * System.IO.SearchOption -> seq<string>
abstract member EnumerateFiles : string * string * System.IO.SearchOption -> seq<string>
override this.EnumerateFiles : string * string * System.IO.SearchOption -> seq<string>
Public MustOverride Function EnumerateFiles (path As String, Optional searchPattern As String = "*", Optional searchOption As SearchOption = System.IO.SearchOption.TopDirectoryOnly) As IEnumerable(Of String)
Public Overridable Function EnumerateFiles (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