The PropDeepComparer class is a generic comparer. It takes an array of PropertyDescriptors and compares two of whatever type the descriptors point to. This is used when you have a list of complex objects, for example Customer. One of the properties of Customer could be a ShippingAddress object and one of the properties of ShippingAddress could be ZipCode. To sort a list of customers by ZipCode you would use this comparer with an array of propterty descriptors, i.e. sortProperty[0] = Property descriptor for Customer.ShippingAddress sortProperty[1] = Property descriptor for Customer.ShippingAddress.ZipCode It's called PropDeepComparer because can will look deep into an object.
Object Model
Syntax
'Declaration
Public Class PropDeepComparer
'Usage
Dim instance As PropDeepComparer
public class PropDeepComparer
Inheritance Hierarchy
System.Object
MVPSI.JAMS.PropDeepComparer
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