You are currently browsing legacy 3.0 version of documentation. Click here to switch to the newest 5.1 version.
Commands: GetKeyNamesAsync
GetKeyNamesAsync retrieves names of all stored configurations.
Syntax
Task<string[]> GetKeyNamesAsync(int start = 0, int pageSize = 25);
Parameters | ||
---|---|---|
start | int | The number of results that should be skipped |
pageSize | int | The maximum number of results that will be returned |
Return Value | |
---|---|
Task<string[]> | A task that represents the asynchronous operation. The result is the array of configuration names. |
Example
The below code will retrieve first 25 names of the existing configurations.
string[] names = await store
.AsyncFilesCommands
.Configuration
.GetKeyNamesAsync();