System::NullableUtils::GetUnderlyingType method

NullableUtils::GetUnderlyingType method

Returns the underlying type argument of the specified nullable type.

static const System::TypeInfo & System::NullableUtils::GetUnderlyingType(const System::TypeInfo &nullableType)
ParameterTypeDescription
nullableTypeconst System::TypeInfo&A System.Type object that describes a closed generic nullable type.

ReturnValue

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

See Also