PropertyBaseManager<T>.OrderCompare 方法

抽象方法来比较两个配置文件类型的订单。OrderCompare将在CorePropertyManager和ProfileTypePropertyManager实现的属性 ID 值进行比较。OrderCompare将在ProfileSubtypePropertyManager实现的DisplayOrder值进行比较。

命名空间:  Microsoft.Office.Server.UserProfiles
程序集:  Microsoft.Office.Server.UserProfiles(位于 Microsoft.Office.Server.UserProfiles.dll 中)

语法

声明
Protected MustOverride Function OrderCompare ( _
    propertyA As T, _
    propertyB As T _
) As Integer
用法
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
)

参数

  • propertyA
    类型:T
  • propertyB
    类型:T

返回值

类型:System.Int32
返回 Int32

另请参阅

引用

PropertyBaseManager<T> 类

PropertyBaseManager<T> 成员

Microsoft.Office.Server.UserProfiles 命名空间