MSBuildFileSystemBase.EnumerateDirectories Method

Definition

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

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