Visual Basic (Declaration) | |
---|---|
Public Function New( _ ByVal pPropertyInfo As PropertyInfo, _ ByVal pSortDirection As ListSortDirection _ ) |
Visual Basic (Usage) | ![]() |
---|---|
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
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