Sdílet prostřednictvím


LengthAttribute.FormatErrorMessage(String) Metoda

Definice

Použije formátování na zadanou chybovou zprávu. (Přepsání FormatErrorMessage(String))

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

Název, který se má zahrnout do formátovaného řetězce.

Návraty

Lokalizovaný řetězec, který popisuje minimální přijatelnou délku.

Platí pro