SecurityIdentifier.Equals 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.
Returns a value that indicates whether this SecurityIdentifier object is equal to a specified object.
Overloads
Equals(Object) |
Returns a value that indicates whether this SecurityIdentifier object is equal to a specified object. |
Equals(SecurityIdentifier) |
Indicates whether the specified SecurityIdentifier object is equal to the current SecurityIdentifier object. |
Equals(Object)
Returns a value that indicates whether this SecurityIdentifier object is equal to a specified object.
public:
override bool Equals(System::Object ^ o);
public override bool Equals (object? o);
public override bool Equals (object o);
override this.Equals : obj -> bool
Public Overrides Function Equals (o As Object) As Boolean
Parameters
- o
- Object
An object to compare with this SecurityIdentifier object, or null
.
Returns
true
if o
is an object with the same underlying type and value as this SecurityIdentifier object; otherwise, false
.
Applies to
Equals(SecurityIdentifier)
Indicates whether the specified SecurityIdentifier object is equal to the current SecurityIdentifier object.
public:
bool Equals(System::Security::Principal::SecurityIdentifier ^ sid);
public bool Equals (System.Security.Principal.SecurityIdentifier sid);
override this.Equals : System.Security.Principal.SecurityIdentifier -> bool
Public Function Equals (sid As SecurityIdentifier) As Boolean
Parameters
The object to compare with the current object.
Returns
true
if the value of sid
is equal to the value of the current SecurityIdentifier object.
Applies to
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για