TimeSpanStyles Enum

Definition

Defines the formatting options that customize string parsing for the ParseExact and TryParseExact methods.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

public enum class TimeSpanStyles
[System.Flags]
public enum TimeSpanStyles
type TimeSpanStyles = 
Public Enum TimeSpanStyles
Inheritance
TimeSpanStyles
Attributes

Fields

AssumeNegative 1

Indicates that input is always interpreted as a negative time interval.

None 0

Indicates that input is interpreted as a negative time interval only if a negative sign is present.

Applies to

See also