Uredi

Deli z drugimi prek


SecurityIdentifier.Equals Method

Definition

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

sid
SecurityIdentifier

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