ProfileSubtypePropertyManager.OrderCompare method

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)

protected override int OrderCompare(
	ProfileSubtypeProperty propertyA,
	ProfileSubtypeProperty propertyB
)

Return value

Type: System.Int32

Returns -1 if propertyA precedes propertyB. Returns 0 if both properties have the same position. Returns 1 if propertyB precedes propertyA.

Show: