Skip to main content
.NET 8.0+

ContextIdentifier.Equals(Object) Method

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

Namespace: DevExpress.Persistent.Validation

Assembly: DevExpress.Persistent.Base.v24.2.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