'Declaration <DescriptionAttribute("Validation expression associated with the input component.")> <CategoryAttribute("Data")> <EditorAttribute("Xceed.Validation.Design.ValidationEditor,Xceed.Validation.v1.3.Design,Version=1.3.20076.12375,Culture=neutral,PublicKeyToken=ba83ff368b7563c6", System.Drawing.Design.UITypeEditor)> <DefaultValueAttribute("")> <MergablePropertyAttribute(False)> Public Sub SetValidationExpression( _ ByVal inputComponent As Object, _ ByVal expression As ValidationExpression _ )
'Usage Dim instance As ValidationProvider Dim inputComponent As Object Dim expression As ValidationExpression instance.SetValidationExpression(inputComponent, expression)
[Description("Validation expression associated with the input component.")] [Category("Data")] [Editor("Xceed.Validation.Design.ValidationEditor,Xceed.Validation.v1.3.Design,Version=1.3.20076.12375,Culture=neutral,PublicKeyToken=ba83ff368b7563c6", System.Drawing.Design.UITypeEditor)] [DefaultValue("")] [MergableProperty(false)] public void SetValidationExpression( object inputComponent, ValidationExpression expression )
Parameters
- inputComponent
- The input component with which the validation expression passed in expression will be associated.
- expression
- The ValidationExpression object to be associated with the input component passed in inputComponent.