ProfileTypePropertyManager.OrderCompare 方法
比较两个配置文件的类型属性的显示顺序。
命名空间: Microsoft.Office.Server.UserProfiles
程序集: Microsoft.Office.Server.UserProfiles(位于 Microsoft.Office.Server.UserProfiles.dll 中)
语法
声明
Protected Overrides Function OrderCompare ( _
propertyA As ProfileTypeProperty, _
propertyB As ProfileTypeProperty _
) As Integer
用法
Dim propertyA As ProfileTypeProperty
Dim propertyB As ProfileTypeProperty
Dim returnValue As Integer
returnValue = Me.OrderCompare(propertyA, _
propertyB)
protected override int OrderCompare(
ProfileTypeProperty propertyA,
ProfileTypeProperty propertyB
)
参数
返回值
类型:System.Int32
备注
如果propertyA在propertyB之前,则返回-1。如果这两个属性具有相同的位置,则返回 0。如果propertyB在propertyA之前,则返回 1。