.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

ContextIdentifier.Equals(Object) Method

Checks whether the specified object is equal to the current ContextIdentifier.

Namespace: DevExpress.Persistent.Validation

Assembly: DevExpress.Persistent.Base.v21.1.dll

Declaration

public override bool Equals(
    object obj
)

Parameters

Name Type Description
obj Object

An object that can be cast to the ContextIdentifier type, to compare to the current ContextIdentifier.

Returns

Type Description
Boolean

true if the specified context identifier’s ContextIdentifier.Id property value equals the current ContextIdentifier‘s Id property value; otherwise, false.

Remarks

You can also use the equality operator to compare two context identifiers.

See Also