CSGenericAccessControlListCompare Method Content Studio 5.7 SDK
Content Studio Web Content Management System

[This is preliminary documentation and is subject to change.]

Compares two strings and returns a value indicating whether one is less than, equal to, or greater than the other.

Namespace: ContentStudio.Security.AccessControlEdit
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)
Syntax

public int Compare(
	string x,
	string y
)

Parameters

x
Type: SystemString
The first string to compare.
y
Type: SystemString
The second string to compare.

Return Value

Type: Int32
A 32-bit signed integer indicating the lexical relationship between the two comparands.

Value

Condition

Less than zero

x is less than y.

Zero

x equals y

Greater than zero

x is greater than y.

Implements

IComparerTCompare(T, T)
See Also

Reference