%%PageItemTitle%%

Compare .NET Objects

Compare .NET Objects
IsTypeMatch Method
See Also  Send Feedback
KellermanSoftware.CompareNetObjects.TypeComparers Namespace > DataRowComparer Class : IsTypeMatch Method


type1
The type of the first object
type2
The type of the second object

Glossary Item Box

Returns true if this is a DataRow

Syntax

Visual Basic (Declaration) 
Public Overrides Function IsTypeMatch( _
   ByVal type1 As System.Type, _
   ByVal type2 As System.Type _
) As System.Boolean
Visual Basic (Usage)Copy Code
Dim instance As DataRowComparer
Dim type1 As System.Type
Dim type2 As System.Type
Dim value As System.Boolean
 
value = instance.IsTypeMatch(type1, type2)
C# 
public override System.bool IsTypeMatch( 
   System.Type type1,
   System.Type type2
)
Managed Extensions for C++ 
public: System.bool IsTypeMatch( 
   System.Type* type1,
   System.Type* type2
) override 

Parameters

type1
The type of the first object
type2
The type of the second object

Requirements

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

See Also

© Kellerman Software 2018 All Rights Reserved.