BuildMaster SDK Reference
Version:

EnumerateFiles(string path) Method

Returns a sequence containing all of the files within the specified directory (top-level only; does not recurse).

Syntax

public static IEnumerable<SlimFileInfo> EnumerateFiles(string path)

Parameters

path
Type: string

The path of the directory to iterate.

Returns

All files contained within the specified directory.

Exceptions

System.ArgumentNullException

path is null (Nothing in Visual Basic) or empty.