Operator operator !=
operator !=(NSError, NSError)
Tests whether the underlying pointers for two NSError objects are different.
Declaration
public static bool operator !=(NSError lhs, NSError rhs)
Parameters
Type | Name | Description |
---|---|---|
NSError | lhs | The NSError to compare with |
NSError | rhs | The NSError to compare with |
Returns
Type | Description |
---|---|
bool | Returns |
Remarks
This only tests whether two NSErrors point to different objects in memory. Two different NSErrors could still be considered equal. See Equals(NSError).
operator !=(NSError?, NSError?)
Tests for inequality.
Declaration
public static bool operator !=(NSError? lhs, NSError? rhs)
Parameters
Type | Name | Description |
---|---|---|
NSError? | lhs | The nullable NSError to compare with |
NSError? | rhs | The nullable NSError to compare with |
Returns
Type | Description |
---|---|
bool | Returns the opposite of operator ==(NSError?, NSError?). |