DirectoryInfoEnumerateFilesInternal Method |
Returns an enumerable collection of directory information that matches a specified search pattern and search subdirectory option.
Namespace: CMS.AmazonStorageAssembly: CMS.AmazonStorage (in CMS.AmazonStorage.dll) Version: 12.0.0
Syntax protected override IEnumerable<FileInfo> EnumerateFilesInternal(
string searchPattern,
SearchOption searchOption
)
Parameters
- searchPattern
- Type: SystemString
Search pattern. - searchOption
- Type: CMS.IOSearchOption
One of the enumeration values that specifies whether the search operation should include only the current directory or all subdirectories.
Return Value
Type:
IEnumerableFileInfoAn enumerable collection of directories that matches
searchPattern and
searchOption.
See Also