AcceptsNull(Type) 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(
Type type
)
Public Shared Function AcceptsNull (
type As Type
) As Boolean
static member AcceptsNull :
type : Type -> bool
Parameters
- Type
- The type.
Return Value
Boolean
True if the type accepts null values; otherwise false.
See Also
Reference
TypeUtilities Class
AcceptsNull Overload
Avalonia.Utilities Namespace