Basic Library for WPF and Silverlight | ComponentOne
C1.Silverlight Namespace / TypeEx Class / GetNonNullableType Method
Type.

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

    Parameters

    type
    Type.

    Return Value

    The underlying type.
    See Also