Operator operator !=
operator !=(ArRecordingConfig, ArRecordingConfig)
Tests for inequality. Same as the negation of Equals(Ar
Declaration
public static bool operator !=(ArRecordingConfig lhs, ArRecordingConfig rhs)
Parameters
Type | Name | Description |
---|---|---|
Ar |
lhs | The Ar |
Ar |
rhs | The Ar |
Returns
Type | Description |
---|---|
bool | Returns |
operator !=(ArRecordingConfig?, ArRecordingConfig?)
Tests for inequality.
Declaration
public static bool operator !=(ArRecordingConfig? lhs, ArRecordingConfig? rhs)
Parameters
Type | Name | Description |
---|---|---|
Ar |
lhs | The native object to compare with |
Ar |
rhs | The native object to compare with |
Returns
Type | Description |
---|---|
bool | Returns false if any of these conditions are met:
-
|
Remarks
This inequality operator lets you to compare an Arnull
to determine whether its
underlying pointer is null. This allows for a more natural comparison with the native ARCore object:
bool TestForNull(ArRecordingConfig obj)
{
if (obj != null)
{
// obj.AsIntPtr() is not IntPtr.Zero
}
}