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 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈