Share via


RelayValidationRule Constructor (String, Func<Object, String>)

Namespace:  Microsoft.TeamFoundation.MVVM
Assembly:  Microsoft.TeamFoundation.Controls (in Microsoft.TeamFoundation.Controls.dll)

Syntax

'Declaration
Public Sub New ( _
    propertyName As String, _
    validateDelegate As Func(Of Object, String) _
)
public RelayValidationRule(
    string propertyName,
    Func<Object, string> validateDelegate
)
public:
RelayValidationRule(
    String^ propertyName, 
    Func<Object^, String^>^ validateDelegate
)
new : 
        propertyName:string * 
        validateDelegate:Func<Object, string> -> RelayValidationRule
public function RelayValidationRule(
    propertyName : String, 
    validateDelegate : Func<Object, String>
)

Parameters

.NET Framework Security

See Also

Reference

RelayValidationRule Class

RelayValidationRule Overload

Microsoft.TeamFoundation.MVVM Namespace