Click or drag to resize
IS3ObjectInfoProviderGetObjectsList Method
Returns list with objects from given bucket and under given path.

Namespace: CMS.AmazonStorage
Assembly: CMS.AmazonStorage (in CMS.AmazonStorage.dll) Version: 11.0.0
Syntax
C#
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: ListString
Remarks
In order to allow to distinguish between files and directories, directories are listed with a trailing backslash.
See Also