共用方式為


CompareValidator.ValueToCompare 屬性

定義

取得或設定要比較的值。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 mobile Apps & Sites with ASP.NET

public:
 property System::String ^ ValueToCompare { System::String ^ get(); void set(System::String ^ value); };
[System.ComponentModel.Bindable(true)]
public string ValueToCompare { get; set; }
[<System.ComponentModel.Bindable(true)>]
member this.ValueToCompare : string with get, set
Public Property ValueToCompare As String

屬性值

要比較的值。

屬性

備註

ValueToCompare如果 和 ControlToCompare 屬性都存在,則會使用 屬性的值ControlToCompare

適用於

另請參閱