共用方式為


RelayValidationRule 建構函式 (String, String, Func<Object, Boolean>)

命名空間:  Microsoft.TeamFoundation.MVVM
組件:  Microsoft.TeamFoundation.Controls (在 Microsoft.TeamFoundation.Controls.dll 中)

語法

'宣告
Public Sub New ( _
    propertyName As String, _
    error As String, _
    validateDelegate As Func(Of Object, Boolean) _
)
public RelayValidationRule(
    string propertyName,
    string error,
    Func<Object, bool> validateDelegate
)

參數

.NET Framework 安全性

請參閱

參考

RelayValidationRule 類別

RelayValidationRule 多載

Microsoft.TeamFoundation.MVVM 命名空間