Search Results for

    Show / Hide Table of Contents
    View Source

    Class DateTimeValidator

    Used to validate if the value is a valid date/time

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Core.PropertyEditors.Validators
    Assembly: Umbraco.Core.dll
    Syntax
    public class DateTimeValidator : IValueValidator

    Methods

    View Source

    Validate(Object, String, Object)

    Declaration
    public IEnumerable<ValidationResult> Validate(object value, string valueType, object dataTypeConfiguration)
    Parameters
    Type Name Description
    System.Object value
    System.String valueType
    System.Object dataTypeConfiguration
    Returns
    Type Description
    IEnumerable<System.ComponentModel.DataAnnotations.ValidationResult>
    • Improve this Doc
    • View Source
    In This Article
    • Methods
      • Validate(Object, String, Object)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX