The requested page is not available for the requested platform. You are viewing the content for Default platform.

RuleCombinationOfPropertiesIsUniqueAttribute.FoundObjectMessagesSeparator Property

Specifies a separator for the object list written in the error message for the current rule.

Namespace: DevExpress.Persistent.Validation

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

Declaration

public string FoundObjectMessagesSeparator { get; set; }
Public Property FoundObjectMessagesSeparator As String

Property Value

Type Description
String

A string value that represents a separator.

Remarks

Set this property if the RuleCombinationOfPropertiesIsUniqueAttribute.FoundObjectMessageFormat property is not set to an empty string (by default, it is set to "{0}"). When several objects that satisfy the specified criteria are found, they should be separated by a symbol when being added to the error message of this rule. By default, this property is set to ", ".

Note

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

See Also