OptionalTGetValueOrDefault Method

Gets the value if present, otherwise the default value.

Definition

Namespace: Avalonia.Data
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public T GetValueOrDefault()

Return Value

T
The value.

See Also