BuildMaster SDK Reference
Version:

GetFileSystemInfos(string path, MaskingContext mask) Method

Returns a sequence containing all of the items within the specified directory that match the specified mask.

Syntax

public static IList<SlimFileSystemInfo> GetFileSystemInfos(string path, MaskingContext mask)

Parameters

path
Type: string

The path of the directory to iterate.

mask
Type: MaskingContext

The mask which specifies what to include and exclude from the results.

Returns

List of file system entries that match the specified mask.

Exceptions

System.ArgumentNullException

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