ObjectExtensionsConvertTo Method

Overload List

ConvertToT(Object) Converts an object to the specified target type.

If the conversion fails, an exception is thrown.

ConvertToT(Object, T) Converts an object to the specified target type.

If the conversion fails, returns the specified default value.

See Also