Taal

OptionsMonitor<TOptions>.CurrentValue Eigenschap

Definitie

Hiermee haalt u de huidige waarde van de opties op (gelijk aan Get(Options.DefaultName)).

public:
 property TOptions CurrentValue { TOptions get(); };
public TOptions CurrentValue { get; }
member this.CurrentValue : 'Options
Public ReadOnly Property CurrentValue As TOptions

Waarde van eigenschap

TOptions

Implementeringen

Uitzonderingen

Een of meer IValidateOptions<TOptions> retournatie is mislukt ValidateOptionsResult bij het valideren van het TOptions gemaakte exemplaar.

De TOptions heeft geen openbare parameterloze constructor of TOptions is abstract.

Van toepassing op