ComponentOne Basic Library for UWP
C1.UWP Assembly / C1.Xaml Namespace / TypeEx Class / GetNonNullableType Method
Type.

In This Topic
    GetNonNullableType Method
    In This Topic
    Returns the underlying type of a nullable type: e.g. if Type = double?, then returns double.
    Syntax
    'Declaration
     
    Public Shared Function GetNonNullableType( _
       ByVal type As System.Type _
    ) As System.Type
    public static System.Type GetNonNullableType( 
       System.Type type
    )

    Parameters

    type
    Type.

    Return Value

    The underlying type.
    See Also