summaryM:DotNetNuke.Web.Validators.DataAnnotationsObjectValidator.ValidateAttribute(System.Object,System.Reflection.PropertyInfo,System.ComponentModel.DataAnnotations.ValidationAttribute)

Namespace: DotNetNuke.Web.Validators
Assembly: DotNetNuke.Web (in DotNetNuke.Web.dll)

Syntax

C#
protected override ValidationResult ValidateAttribute(
	Object target,
	PropertyInfo targetProperty,
	ValidationAttribute attribute
)
Visual Basic
Protected Overrides Function ValidateAttribute ( 
	target As Object,
	targetProperty As PropertyInfo,
	attribute As ValidationAttribute
) As ValidationResult

Parameters

target
Type: System..::..Object
paramtargetM:DotNetNuke.Web.Validators.DataAnnotationsObjectValidator.ValidateAttribute(System.Object,System.Reflection.PropertyInfo,System.ComponentModel.DataAnnotations.ValidationAttribute)
targetProperty
Type: System.Reflection..::..PropertyInfo
paramtargetPropertyM:DotNetNuke.Web.Validators.DataAnnotationsObjectValidator.ValidateAttribute(System.Object,System.Reflection.PropertyInfo,System.ComponentModel.DataAnnotations.ValidationAttribute)
attribute
Type: System.ComponentModel.DataAnnotations..::..ValidationAttribute
paramattributeM:DotNetNuke.Web.Validators.DataAnnotationsObjectValidator.ValidateAttribute(System.Object,System.Reflection.PropertyInfo,System.ComponentModel.DataAnnotations.ValidationAttribute)

Return Value

returnsM:DotNetNuke.Web.Validators.DataAnnotationsObjectValidator.ValidateAttribute(System.Object,System.Reflection.PropertyInfo,System.ComponentModel.DataAnnotations.ValidationAttribute)

See Also