S3ObjectInfoProviderGetObjectsList Method |
Returns list with objects from given bucket and under given path.
Namespace: CMS.AmazonStorageAssembly: CMS.AmazonStorage (in CMS.AmazonStorage.dll) Version: 9.0.0
Syntaxpublic List<string> GetObjectsList(
string path,
ObjectTypeEnum type,
bool useFlatListing = false,
bool lower = true,
bool useCache = true
)
Parameters
- path
- Type: SystemString
Path. - type
- Type: CMS.AmazonStorageObjectTypeEnum
Specifies which objects are returned (files, directories, both). - useFlatListing (Optional)
- Type: SystemBoolean
Whether flat listing is used (all files from all subdirectories all in the result). - lower (Optional)
- Type: SystemBoolean
Specifies whether path should be lowered inside method. - useCache (Optional)
- Type: SystemBoolean
Indicates if results should be primary taken from cache to get better performance
Return Value
Type:
ListStringImplements
IS3ObjectInfoProviderGetObjectsList(String, ObjectTypeEnum, Boolean, Boolean, Boolean)
See Also