Determines whether fromType can be assigned to toType.
'Declaration
Public Shared Function IsAssignableFrom( _
ByVal As System.Type, _
ByVal As System.Type _
) As System.Boolean
public static System.bool IsAssignableFrom(
System.Type ,
System.Type
)
Parameters
- toType
- To type.
- fromType
- From type.
Return Value
true if [is assignable from] [the specified to type]; otherwise, false.