Back to Devexpress

ContextIdentifier Struct

expressappframework-devexpress-dot-persistent-dot-validation-35a6c0c9.md

latest1.8 KB
Original Source

ContextIdentifier Struct

Identifies a Validation Context.

Namespace : DevExpress.Persistent.Validation

Assembly : DevExpress.Persistent.Base.v25.2.dll

NuGet Package : DevExpress.Persistent.Base

Declaration

csharp
public struct ContextIdentifier :
    IComparable,
    IEquatable<ContextIdentifier>
vb
Public Structure ContextIdentifier
    Implements IComparable,
               IEquatable(Of ContextIdentifier)

The following members return ContextIdentifier objects:

Remarks

ContextIdentifier s wrap validation contexts and provide methods to compare and sort them. The ContextIdentifier type is used in various built-in classes, and you may need to occasionally instantiate it and pass instances to methods and properties of built-in XAF classes. To create a ContextIdentifier for a given validation context, use the ContextIdentifier constructor and pass the validation context as the id parameter.

See Also

ContextIdentifier Members

Validation (Prevent Data Errors)

DevExpress.Persistent.Validation Namespace