CompareAttribute(String) 建構函式

定義

初始化 CompareAttribute 類別的新執行個體。

public:
 CompareAttribute(System::String ^ otherProperty);
public CompareAttribute(string otherProperty);
new System.ComponentModel.DataAnnotations.CompareAttribute : string -> System.ComponentModel.DataAnnotations.CompareAttribute
Public Sub New (otherProperty As String)

參數

otherProperty
String

要比較現有房產。

適用於