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
- propertyName
Type: System.String
- validateDelegate
Type: System.Func<Object, String>
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.