ISettingsManager3.GetSettingMonikersAsync(String, Int32, Int32, CancellationToken) Method

Definition

Gets all the registered setting monikers starting with monikerPrefix (case insensitive comparison).

public:
 System::Threading::Tasks::ValueTask<System::Collections::Generic::IReadOnlyList<System::String ^> ^> GetSettingMonikersAsync(System::String ^ monikerPrefix, int startIndex, int maxCount, System::Threading::CancellationToken cancellationToken);
public System.Threading.Tasks.ValueTask<System.Collections.Generic.IReadOnlyList<string>>? GetSettingMonikersAsync (string monikerPrefix, int startIndex, int maxCount, System.Threading.CancellationToken cancellationToken);
abstract member GetSettingMonikersAsync : string * int * int * System.Threading.CancellationToken -> System.Threading.Tasks.ValueTask<System.Collections.Generic.IReadOnlyList<string>>
Public Function GetSettingMonikersAsync (monikerPrefix As String, startIndex As Integer, maxCount As Integer, cancellationToken As CancellationToken) As ValueTask(Of IReadOnlyList(Of String))

Parameters

monikerPrefix
String

The first part of a setting name; pass an empty string to get all setting monikers.

startIndex
Int32

The index of the first setting to return.

maxCount
Int32

The maximum number of settings to return.

cancellationToken
CancellationToken

A cancellation token.

Returns

ValueTask<IReadOnlyList<String>>

An async task whose result is the collection of setting monikers matching the given prefix.

Applies to