CustomValidationAttribute::FormatErrorMessage Method (String^)
.NET Framework (current version)
Formats a validation error message.
Assembly: System.ComponentModel.DataAnnotations (in System.ComponentModel.DataAnnotations.dll)
Parameters
- name
-
Type:
System::String^
The name to include in the formatted message.
The error message is formatted at run time to include the name value that is passed to this method.
Universal Windows Platform
Available since 8
.NET Framework
Available since 4.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 3.0
Available since 8
.NET Framework
Available since 4.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 3.0
Show: