<img height="1" width="1" style="display:none;" alt="" src="https://px.ads.linkedin.com/collect/?pid=6889170&amp;fmt=gif">
Skip to content
  • There are no suggestions because the search field is empty.

Methods | RequiredIfAttribute.FormatErrorMessage Method

Applies formatting to an error message, based on the data field where the error occurred.

Syntax

C# Copy
public override string FormatErrorMessage(
	string name
)

Parameters
name    String
            The name to include in the formatted message.

Return Value
String
An instance of the formatted error message.

Exceptions

Exception Condition
InvalidOperationException The current attribute is malformed.

See Also

Reference
RequiredIfAttribute Class
Compiled.EDD.Scripting Namespace