Enumerate the files of this directory.
Namespace: Amazon.S3.IO
Assembly: AWSSDK.dll
Version: 2.0.0.3
Syntax
public IEnumerable<IS3FileSystemInfo> EnumerateFileSystemInfos(
String searchPattern
)
Parameters
- searchPattern
-
Type: System.String
The search string. The default pattern is "*", which returns all files.
Return Value
System.Collections.Generic.IEnumerable`1[[Amazon.S3.IO.IS3FileSystemInfo, AWSSDK, Version=2.0.0.3, Culture=neutral, PublicKeyToken=9f476d3089b52be3]] An enumerable collection of files that matches searchPattern.
System.Collections.Generic.IEnumerable`1[[Amazon.S3.IO.IS3FileSystemInfo, AWSSDK, Version=2.0.0.3, Culture=neutral, PublicKeyToken=9f476d3089b52be3]] An enumerable collection of files that matches searchPattern.
Exceptions
| Exception | Condition |
|---|---|
| System.Net.WebException | |
| Amazon.S3.AmazonS3Exception |
Version Information
.NET Framework:
Supported in: 4.5, 4.0, 3.5