다음을 통해 공유


CompareValidator.ControlToCompare 속성

정의

비교할 입력 컨트롤의 ID를 가져오거나 설정합니다. 기본값은 빈 문자열("")입니다. 이 API는 더 이상 사용되지 않습니다. ASP.NET 모바일 애플리케이션을 개발하는 방법에 대한 자세한 내용은 ASP.NET 있는 Mobile Apps & 사이트를 참조하세요.

public:
 property System::String ^ ControlToCompare { System::String ^ get(); void set(System::String ^ value); };
[System.ComponentModel.Bindable(false)]
[System.ComponentModel.TypeConverter(typeof(System.Web.UI.Design.MobileControls.Converters.ValidatedMobileControlConverter))]
public string ControlToCompare { get; set; }
[<System.ComponentModel.Bindable(false)>]
[<System.ComponentModel.TypeConverter(typeof(System.Web.UI.Design.MobileControls.Converters.ValidatedMobileControlConverter))>]
member this.ControlToCompare : string with get, set
Public Property ControlToCompare As String

속성 값

비교할 입력 컨트롤의 ID입니다.

특성

설명

값 비교를 수행는 컨트롤의 ID를 지정 합니다. 사용할 수는 ValueToCompare 속성을 대신 합니다. 둘 다 지정 하는 경우 값을 ControlToCompare 속성이 우선 합니다.

적용 대상

추가 정보