PropertyBaseManager<T>.OrderCompare method

Abstract method that compares the order of two profile types. OrderCompare compares Property ID values in the CorePropertyManager and ProfileTypePropertyManager implementations. OrderCompare compares DisplayOrder values in the ProfileSubtypePropertyManager implementation.

Namespace:  Microsoft.Office.Server.UserProfiles
Assembly:  Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)

Syntax

'Declaration
Protected MustOverride Function OrderCompare ( _
    propertyA As T, _
    propertyB As T _
) As Integer
'Usage
Dim propertyA As T
Dim propertyB As T
Dim returnValue As Integer

returnValue = Me.OrderCompare(propertyA, _
    propertyB)
protected abstract int OrderCompare(
    T propertyA,
    T propertyB
)

Parameters

  • propertyA
    Type: T
  • propertyB
    Type: T

Return value

Type: System.Int32
Returns Int32.

See also

Reference

PropertyBaseManager<T> class

PropertyBaseManager<T> members

Microsoft.Office.Server.UserProfiles namespace