IdeaBlade DevForce 2010 Help Reference
PropertyComparer Constructor(PropertyInfo,ListSortDirection)
See Also  Send Feedback
IdeaBlade.Core Assembly > IdeaBlade.Core Namespace > PropertyComparer Class > PropertyComparer Constructor : PropertyComparer Constructor(PropertyInfo,ListSortDirection)



pPropertyInfo
PropertyInfo metadata describing the property that will be involved in comparison operations
pSortDirection
The sort direction for this comparer
Initialize a new instance of the PropertyComparer class

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal pPropertyInfo As PropertyInfo, _
   ByVal pSortDirection As ListSortDirection _
)
Visual Basic (Usage)Copy Code
Dim pPropertyInfo As PropertyInfo
Dim pSortDirection As ListSortDirection
 
Dim instance As New PropertyComparer(pPropertyInfo, pSortDirection)
C# 
public PropertyComparer( 
   PropertyInfo pPropertyInfo,
   ListSortDirection pSortDirection
)
C++/CLI 
public:
PropertyComparer( 
   PropertyInfo^ pPropertyInfo,
   ListSortDirection 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 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.