JAMS Developer Guide
PropComparer Constructor


MVPSI.JAMS Namespace > PropComparer Class : PropComparer Constructor
The property to use.
The sort direction to use.
Creates a new PropComparer that will use the specified property and direction.
Syntax
'Declaration
 
Public Function New( _
   ByVal initProperty As System.ComponentModel.PropertyDescriptor, _
   ByVal initDirection As System.ComponentModel.ListSortDirection _
)
'Usage
 
Dim initProperty As System.ComponentModel.PropertyDescriptor
Dim initDirection As System.ComponentModel.ListSortDirection
 
Dim instance As New PropComparer(initProperty, initDirection)
public PropComparer( 
   System.ComponentModel.PropertyDescriptor initProperty,
   System.ComponentModel.ListSortDirection initDirection
)

Parameters

initProperty
The property to use.
initDirection
The sort direction to use.
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

PropComparer Class
PropComparer Members