Delegate EnumerateDirectoryCallback
Represents a method that will be called for each entry in a directory during enumeration
public delegate EnumerationResult EnumerateDirectoryCallback(string directoryName, string entryName)
Parameters
directoryNamestringThe directory that is being enumerated. Can be the empty string when enumerating the root of a Storage container.
entryNamestringThe name of the entry being enumerated
Returns
- EnumerationResult
How to proceed with the enumeration:
Remarks
Enumeration of directory entries will continue until either all entries have been enumerated, or the enumeration was requested to terminate.
directoryName is guaranteed to end with a directory separator character ('\\' on Windows; '/' on most other platforms) if it's not the empty string.
It can be the empty string ("") when enumerating the root of a Storage container.