IdeaBlade DevForce 2010 Help Reference
IsCompatibleWith Method
See Also  Send Feedback
IdeaBlade.Core Assembly > IdeaBlade.Core Namespace > TypeFns Class : IsCompatibleWith Method



source
target
Determines whether the source type is compatible with the given target type.

Syntax

Visual Basic (Declaration) 
Public Shared Function IsCompatibleWith( _
   ByVal source As Type, _
   ByVal target As Type _
) As Boolean
Visual Basic (Usage)Copy Code
Dim source As Type
Dim target As Type
Dim value As Boolean
 
value = TypeFns.IsCompatibleWith(source, target)
C# 
public static bool IsCompatibleWith( 
   Type source,
   Type target
)
C++/CLI 
public:
static bool IsCompatibleWith( 
   Type^ source,
   Type^ target
) 

Parameters

source
target

Remarks

This is a better implementation than System.Type.IsAssignableFrom(System.Type).

Requirements

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

See Also

© 2013 All Rights Reserved.