MaxLengthAttribute.FormatErrorMessage(String) Metoda

Definicja

Stosuje formatowanie do określonego komunikatu o błędzie.

public:
 override System::String ^ FormatErrorMessage(System::String ^ name);
public override string FormatErrorMessage (string name);
override this.FormatErrorMessage : string -> string
Public Overrides Function FormatErrorMessage (name As String) As String

Parametry

name
String

Nazwa do uwzględnienia w sformatowanych ciągach.

Zwraca

Zlokalizowany ciąg opisujący maksymalną dopuszczalną długość.

Dotyczy