ValidationAttribute.ErrorMessage 속성

정의

유효성 검사에 실패하는 경우 유효성 검사 컨트롤과 연결할 오류 메시지를 가져오거나 설정합니다.

public:
 property System::String ^ ErrorMessage { System::String ^ get(); void set(System::String ^ value); };
public string ErrorMessage { get; set; }
public string? ErrorMessage { get; set; }
member this.ErrorMessage : string with get, set
Public Property ErrorMessage As String

속성 값

유효성 검사 컨트롤과 연결된 오류 메시지입니다.

설명

이 속성은 유효성 검사 컨트롤과 연결하는 오류 메시지입니다. 지역화되지 않은 오류 메시지에 사용됩니다.

적용 대상