summaryM:DotNetNuke.Web.Validators.DataAnnotationsObjectValidator.CreateError(System.String,System.ComponentModel.DataAnnotations.ValidationAttribute)

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

Syntax

C#
protected virtual ValidationError CreateError(
	string propertyName,
	ValidationAttribute attribute
)
Visual Basic
Protected Overridable Function CreateError ( 
	propertyName As String,
	attribute As ValidationAttribute
) As ValidationError

Parameters

propertyName
Type: System..::..String
parampropertyNameM:DotNetNuke.Web.Validators.DataAnnotationsObjectValidator.CreateError(System.String,System.ComponentModel.DataAnnotations.ValidationAttribute)
attribute
Type: System.ComponentModel.DataAnnotations..::..ValidationAttribute
paramattributeM:DotNetNuke.Web.Validators.DataAnnotationsObjectValidator.CreateError(System.String,System.ComponentModel.DataAnnotations.ValidationAttribute)

Return Value

returnsM:DotNetNuke.Web.Validators.DataAnnotationsObjectValidator.CreateError(System.String,System.ComponentModel.DataAnnotations.ValidationAttribute)

See Also