IdentityReference.Inequality(IdentityReference, IdentityReference) 演算子

定義

2 つの IdentityReference オブジェクトを比較し、それらのオブジェクトが等しくないかどうかを判断します。 これらのオブジェクトが Value プロパティで返される標準の名前表現と異なる標準の名前表現を持つ場合、または一方のオブジェクトが null である場合は、これらのオブジェクトが等しくないと見なされます。

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

パラメーター

left
IdentityReference

等しくないかどうかの比較に使用する左辺の IdentityReference オペランド。 このパラメーターは、null に設定できます。

right
IdentityReference

等しくないかどうかの比較に使用する右辺の IdentityReference オペランド。 このパラメーターは、null に設定できます。

戻り値

leftright が等しくない場合は true。それ以外の場合は false

注釈

この演算子の同等のメソッドは です IdentityReference.Equals

適用対象