CompareAttribute(String) Oluşturucu

Tanım

CompareAttribute sınıfının yeni bir örneğini başlatır.

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)

Parametreler

otherProperty
String

Geçerli özellik ile karşılaştıracak özellik.

Şunlara uygulanır