Click or drag to resize

ObjectExtensionConvert Method

Note: This API is now obsolete.

For backward compatibility only. Use To(Object, Type, CultureInfo) instead.

Namespace:  TB.ComponentModel
Assembly:  UniversalTypeConverter (in UniversalTypeConverter.dll) Version: 2.0.0
Syntax
C#
[ObsoleteAttribute("Use To() instead.")]
public static Object Convert(
	this Object value,
	Type destinationType,
	CultureInfo culture = null
)

Parameters

value
Type: SystemObject
destinationType
Type: SystemType
culture (Optional)
Type: System.GlobalizationCultureInfo

Return Value

Type: Object

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Object. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also