ValidationError.PropertyName 屬性

定義

取得或設定未能驗證的屬性名稱。

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

屬性值

String A 包含了未能驗證的屬性名稱。

備註

設計者會用此屬性顯示設定錯誤,並引導使用者找到包含錯誤的屬性。

適用於