ObservableSettingsListBase<TValue>.GetAsync Method

Definition

Retrieves the Code Container associated with key if any. Returns null otherwise.

public virtual System.Threading.Tasks.Task<ValueT> GetAsync (string key, System.Threading.CancellationToken cancellationToken = default);
public virtual System.Threading.Tasks.Task<TValue> GetAsync (string key, System.Threading.CancellationToken cancellationToken = default);

Parameters

key
String
cancellationToken
CancellationToken

Returns

Task<ValueT>
Task<TValue>

Applies to