Edit

Share via


TimeSpanStyles Enum

Definition

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

This enumeration supports a bitwise combination of its member values.

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

Fields

Name Value Description
None 0

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

AssumeNegative 1

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

Applies to

See also