GetValueOrDefault Method
Gets the value if present, otherwise the default value.
Definition
Namespace: Avalonia.Data
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public T GetValueOrDefault()
Public Function GetValueOrDefault As T
member GetValueOrDefault : unit -> 'T
Return Value
T
The value.
See Also
Reference
Optional(T) Structure
GetValueOrDefault Overload
Avalonia.Data Namespace