ISettingsManager3.GetSettingInfosAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the metadata for all the registered settings starting with monikerPrefix
(case insensitive comparison).
public:
System::Threading::Tasks::ValueTask<System::Collections::Generic::IReadOnlyList<Microsoft::VisualStudio::RpcContracts::Settings::SettingInfo ^> ^> GetSettingInfosAsync(System::String ^ monikerPrefix, int startIndex, int maxCount, System::Threading::CancellationToken cancellationToken);
public System.Threading.Tasks.ValueTask<System.Collections.Generic.IReadOnlyList<Microsoft.VisualStudio.RpcContracts.Settings.SettingInfo>> GetSettingInfosAsync (string monikerPrefix, int startIndex, int maxCount, System.Threading.CancellationToken cancellationToken);
abstract member GetSettingInfosAsync : string * int * int * System.Threading.CancellationToken -> System.Threading.Tasks.ValueTask<System.Collections.Generic.IReadOnlyList<Microsoft.VisualStudio.RpcContracts.Settings.SettingInfo>>
Public Function GetSettingInfosAsync (monikerPrefix As String, startIndex As Integer, maxCount As Integer, cancellationToken As CancellationToken) As ValueTask(Of IReadOnlyList(Of SettingInfo))
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
An async task whose result is the info for all the settings matching the given prefix.