# MemberRelationship.Inequality(MemberRelationship, MemberRelationship) Operator

## Definition

Tests whether two specified MemberRelationship structures are different.

```
public:
static bool operator !=(System::ComponentModel::Design::Serialization::MemberRelationship left, System::ComponentModel::Design::Serialization::MemberRelationship right);
```

`public static bool operator != (System.ComponentModel.Design.Serialization.MemberRelationship left, System.ComponentModel.Design.Serialization.MemberRelationship right);`

`static member op_Inequality : System.ComponentModel.Design.Serialization.MemberRelationship * System.ComponentModel.Design.Serialization.MemberRelationship -> bool`

`Public Shared Operator != (left As MemberRelationship, right As MemberRelationship) As Boolean`

#### Parameters

- left
- MemberRelationship

The MemberRelationship structure that is to the left of the inequality operator.

- right
- MemberRelationship

The MemberRelationship structure that is to the right of the inequality operator.

#### Returns

This operator returns `true`

if the two MemberRelationship structures are different; otherwise, `false`

.

## Remarks

The equivalent method for this operator is MemberRelationship.Equals.