Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Compares the display order of two profile subtype properties.
Namespace: Microsoft.Office.Server.UserProfiles
Assembly: Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)
Syntax
'Declaration
Protected Overrides Function OrderCompare ( _
propertyA As ProfileSubtypeProperty, _
propertyB As ProfileSubtypeProperty _
) As Integer
'Usage
Dim propertyA As ProfileSubtypeProperty
Dim propertyB As ProfileSubtypeProperty
Dim returnValue As Integer
returnValue = Me.OrderCompare(propertyA, _
propertyB)
protected override int OrderCompare(
ProfileSubtypeProperty propertyA,
ProfileSubtypeProperty propertyB
)
Parameters
- propertyA
Type: Microsoft.Office.Server.UserProfiles.ProfileSubtypeProperty
- propertyB
Type: Microsoft.Office.Server.UserProfiles.ProfileSubtypeProperty
Return Value
Type: System.Int32
Remarks
Returns -1 if propertyA precedes propertyB. Returns 0 if both properties have the same position. Returns 1 if propertyB precedes propertyA.
See Also
Reference
ProfileSubtypePropertyManager Class