J
Joe Adams
Hi All,
How can I use GetType(<GenericType>).IsAssignableFrom(<MyType>)
I need to now if the <MyType> is the same type of class as the <GenericType>
without having to add the generic type member members.
i.e. I do not want to use GetType(<GenericType>(Of
String).IsAssignableFrom(<MyType>)
I've tried using
GetType(<GenericType>(Of ,).IsAssignableFrom(<MyType>) but it always returns
false.
Regards
Neal
How can I use GetType(<GenericType>).IsAssignableFrom(<MyType>)
I need to now if the <MyType> is the same type of class as the <GenericType>
without having to add the generic type member members.
i.e. I do not want to use GetType(<GenericType>(Of
String).IsAssignableFrom(<MyType>)
I've tried using
GetType(<GenericType>(Of ,).IsAssignableFrom(<MyType>) but it always returns
false.
Regards
Neal