ProfileTypePropertyManager.OrderCompare(ProfileTypeProperty, ProfileTypeProperty) ProfileTypePropertyManager.OrderCompare(ProfileTypeProperty, ProfileTypeProperty) ProfileTypePropertyManager.OrderCompare(ProfileTypeProperty, ProfileTypeProperty) Method

Definition

Compares the display order of two profile type properties.

protected:
 override int OrderCompare(Microsoft::Office::Server::UserProfiles::ProfileTypeProperty ^ propertyA, Microsoft::Office::Server::UserProfiles::ProfileTypeProperty ^ propertyB);
protected override int OrderCompare (Microsoft.Office.Server.UserProfiles.ProfileTypeProperty propertyA, Microsoft.Office.Server.UserProfiles.ProfileTypeProperty propertyB);
Protected Overrides Function OrderCompare (propertyA As ProfileTypeProperty, propertyB As ProfileTypeProperty) As Integer
Parameters
Returns

Remarks

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

Applies to