SecurityIdentifier::CompareTo Method (SecurityIdentifier^)
.NET Framework (current version)
Compares the current SecurityIdentifier object with the specified SecurityIdentifier object.
Assembly: mscorlib (in mscorlib.dll)
Parameters
- sid
-
Type:
System.Security.Principal::SecurityIdentifier^
The object to compare with the current object.
Return Value
Type: System::Int32A signed number indicating the relative values of this instance and sid.
Return Value | Description |
|---|---|
Less than zero | This instance is less than sid. |
Zero | This instance is equal to sid. |
Greater than zero | This instance is greater than sid. |
Implements
IComparable<T>::CompareTo(T)
.NET Framework
Available since 2.0
Available since 2.0
Show: