Click or drag to resize
DirectoryEnumerateFiles Method (String, String)
Returns an enumerable collection of file names that match a search pattern in a specified path.

Namespace: CMS.AzureStorage
Assembly: CMS.AzureStorage (in CMS.AzureStorage.dll) Version: 11.0.0
Syntax
C#
public override IEnumerable<string> EnumerateFiles(
	string path,
	string searchPattern
)

Parameters

path
Type: SystemString
The relative or absolute path to the directory to search. This string is not case-sensitive.
searchPattern
Type: SystemString
Search pattern.

Return Value

Type: IEnumerableString
An enumerable collection of the full names (including paths) for the files in the directory specified by path and that match the specified search pattern.
Exceptions
ExceptionCondition
PathTooLongExceptionpath is too long
ArgumentExceptionpath contains invalid characters
See Also