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