IFileCollector.GetFileNamesByExtension

IFileCollector.GetFileNamesByExtension method

Returns the array of file names by an extension.

public string[] GetFileNamesByExtension(string extension, string path = null)
ParameterTypeDescription
extensionStringThe file extension.
pathStringThe path inside the directory.

Return Value

The array of file names.

See Also