private static Cast ( object source, BuiltInType targetType ) : object | ||
source | object | |
targetType | BuiltInType | |
Résultat | object |
private static object Cast(object source, BuiltInType targetType)
{
BuiltInType sourceType = GetBuiltInType(source);
if (sourceType == BuiltInType.Null)
{
return null;
}
return Cast(source, sourceType, targetType);
}