共用方式為


ValidateContext.CurrentValidationPath 屬性

定義

取得或設定用於識別複雜物件圖中正在驗證物件的前綴。

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

屬性值

備註

此前綴用於建立驗證錯誤訊息中的屬性路徑(例如「Customer.Address.Street」)。

適用於