AcceptsNull<T> Method
Returns a value indicating whether null can be assigned to the specified type.
Definition
Namespace: Avalonia.Utilities
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public static bool AcceptsNull<T>()
Public Shared Function AcceptsNull(Of T) As Boolean
static member AcceptsNull : unit -> bool
Type Parameters
- The type
Return Value
Boolean
True if the type accepts null values; otherwise false.
See Also
Reference
TypeUtilities Class
AcceptsNull Overload
Avalonia.Utilities Namespace