Skip to main content
.NET 6.0+

RuleObjectExistsAttribute.IncludeCurrentObject Property

Specifies whether to check the current business object by this rule.

Namespace: DevExpress.Persistent.Validation

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

Declaration

public bool IncludeCurrentObject { get; set; }

Property Value

Type Description
Boolean

true if the current object is included into the search scope; otherwise, false.

Remarks

By default, this property is set to false.

Note

When defining the RuleObjectExistsAttribute in code, the value for the IncludeCurrentObject property is passed as a named parameter. This means that you do not have to specify it. However, when specifying, use the following format: IncludeCurrentObject = True (IncludeCurrentObject := True, in Visual Basic).

See Also