DevForce Help Reference
PropertyComparer Constructor(PropertyDescriptor,ListSortDirection)


PropertyDescriptor metadata describing the property that will be involved in comparison operations
The sort direction for this comparer
Initialize a new instance of the PropertyComparer class
Syntax
'Declaration
 
Public Function New( _
   ByVal pPropertyDescriptor As PropertyDescriptor, _
   ByVal pSortDirection As ListSortDirection _
)
'Usage
 
Dim pPropertyDescriptor As PropertyDescriptor
Dim pSortDirection As ListSortDirection
 
Dim instance As New PropertyComparer(pPropertyDescriptor, pSortDirection)

Parameters

pPropertyDescriptor
PropertyDescriptor metadata describing the property that will be involved in comparison operations
pSortDirection
The sort direction for this comparer
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

Reference

PropertyComparer Class
PropertyComparer Members
Overload List

Send Feedback