IdeaBlade.Core Assembly > IdeaBlade.Core.Reflection Namespace > TypeFns Class : ConvertType Method |
'Declaration
Public Shared Function ConvertType( _ ByVal value As Object, _ ByVal conversionType As Type, _ ByVal throwIfError As Boolean _ ) As Object
'Usage
Dim value As Object Dim conversionType As Type Dim throwIfError As Boolean Dim value As Object value = TypeFns.ConvertType(value, conversionType, throwIfError)
public static object ConvertType( object value, Type conversionType, bool throwIfError )
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2