MinLengthAttribute.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

參數

name
String

要包含在格式化字串中的名稱。

傳回

String

描述可接受之最小長度的當地語系化字串。

適用於