SecurityIdentifier.CompareTo(SecurityIdentifier) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Compares the current SecurityIdentifier object with the specified SecurityIdentifier object.
public:
virtual int CompareTo(System::Security::Principal::SecurityIdentifier ^ sid);
public int CompareTo (System.Security.Principal.SecurityIdentifier? sid);
public int CompareTo (System.Security.Principal.SecurityIdentifier sid);
abstract member CompareTo : System.Security.Principal.SecurityIdentifier -> int
override this.CompareTo : System.Security.Principal.SecurityIdentifier -> int
Public Function CompareTo (sid As SecurityIdentifier) As Integer
Parameters
The object to compare with the current object.
Returns
A 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
Applies to
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.