Bewerken

Share via


SecurityIdentifier.Inequality(SecurityIdentifier, SecurityIdentifier) Operator

Definition

Compares two SecurityIdentifier objects to determine whether they are not equal. They are considered not equal if they have different canonical name representations than the one returned by the Value property or if one of the objects is null and the other is not.

public:
 static bool operator !=(System::Security::Principal::SecurityIdentifier ^ left, System::Security::Principal::SecurityIdentifier ^ right);
public static bool operator != (System.Security.Principal.SecurityIdentifier? left, System.Security.Principal.SecurityIdentifier? right);
public static bool operator != (System.Security.Principal.SecurityIdentifier left, System.Security.Principal.SecurityIdentifier right);
static member op_Inequality : System.Security.Principal.SecurityIdentifier * System.Security.Principal.SecurityIdentifier -> bool
Public Shared Operator != (left As SecurityIdentifier, right As SecurityIdentifier) As Boolean

Parameters

left
SecurityIdentifier

The left operand to use for the inequality comparison. This parameter can be null.

right
SecurityIdentifier

The right operand to use for the inequality comparison. This parameter can be null.

Returns

true if left and right are not equal; otherwise, false.

Applies to