Compares two users returns an indication of their relative values.
Namespace: Novalys.VisualGuard.Security.MembershipAssembly: Novalys.VisualGuard.Security (in Novalys.VisualGuard.Security.dll) Version: 2017.0.101.17 (2017.0.101.17)
Syntax
C# |
---|
public int Compare( VGMembershipUser x, VGMembershipUser y ) |
Visual Basic |
---|
Public Function Compare ( x As VGMembershipUser, y As VGMembershipUser ) As Integer |
Parameters
- x
- Type: Novalys.VisualGuard.Security.Membership..::..VGMembershipUser
the first user to compare.
- y
- Type: Novalys.VisualGuard.Security.Membership..::..VGMembershipUser
the second user to compare.
Return Value
Type: Int32Less than zero when x is less than y. Zero when x equals y. Greater than zero when x is greater than y.