DevForce Help Reference
PropertyComparer Constructor(PropertyInfo,ListSortDirection)


PropertyInfo 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 pPropertyInfo As PropertyInfo, _
   ByVal pSortDirection As ListSortDirection _
)
'Usage
 
Dim pPropertyInfo As PropertyInfo
Dim pSortDirection As ListSortDirection
 
Dim instance As New PropertyComparer(pPropertyInfo, pSortDirection)

Parameters

pPropertyInfo
PropertyInfo 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