Visual Basic (Declaration) | |
---|---|
Public Shared Function IsCompatibleWith( _ ByVal source As Type, _ ByVal target As Type _ ) As Boolean |
Visual Basic (Usage) | ![]() |
---|---|
Dim source As Type Dim target As Type Dim value As Boolean value = TypeFns.IsCompatibleWith(source, target) |
Parameters
- source
- target
This is a better implementation than System.Type.IsAssignableFrom(System.Type).
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family