Input for WinForms | ComponentOne
C1.Win.Input Namespace / DateTimeStyles Enumeration

In This Topic
    DateTimeStyles Enumeration
    In This Topic
    Specifies parameters for parsing a datetime string.
    Syntax
    'Declaration
     
    
    Public Enum DateTimeStyles 
       Inherits System.Enum
    public enum DateTimeStyles : System.Enum 
    Members
    MemberDescription
    AllowInnerWhiteIndicates that extra white space characters in the middle of the string must be ignored during parsing.
    AllowLeadingWhiteIndicates that leading white space characters must be ignored during parsing.
    AllowTrailingWhiteIndicates that trailing white space characters must be ignored during parsing.
    AllowWhiteSpacesIndicates that extra white space characters anywhere in the string must be ignored during parsing.
    NoCurrentDateDefaultIndicates that, if the parsed string contains only the time and not the date, the parsing methods assume the Gregorian date with year = 1, month = 1, and day = 1. If this value is not used, the current date is assumed.
    NoneIndicates that the default formatting options must be used.
    Inheritance Hierarchy

    System.Object
       System.ValueType
          System.Enum
             C1.Win.Input.DateTimeStyles

    See Also