Condividi tramite


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