TypeUtilitiesAcceptsNull(Type) Method
Returns a value indicating whether null can be assigned to the specified type.
Namespace: Avalonia.UtilitiesAssembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public static bool AcceptsNull(
Type type
)
Public Shared Function AcceptsNull (
type As Type
) As Boolean
static member AcceptsNull :
type : Type -> bool
- type Type
- The type.
BooleanTrue if the type accepts null values; otherwise false.