GetUnderlyingType()

NullableUtils::GetUnderlyingType(const System::TypeInfo&) method

Returns the underlying type argument of the specified nullable type.

static const System::TypeInfo & System::NullableUtils::GetUnderlyingType(const System::TypeInfo &nullableType)

Arguments

ParameterTypeDescription
nullableTypeconst System::TypeInfo&A System.Type object that describes a closed generic nullable type.

Return Value

The type argument of the nullableType parameter, if the nullableType parameter is a closed generic nullable type; otherwise, null

See Also