Export (0) Print
Expand All

TimeSpanStyles Enumeration

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

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

Namespace:  System.Globalization
Assembly:  mscorlib (in mscorlib.dll)

<FlagsAttribute> _
Public Enumeration TimeSpanStyles

Member nameDescription
Supported by Silverlight for Windows PhoneNoneIndicates that input is interpreted as a negative time interval only if a negative sign is present.
Supported by Silverlight for Windows PhoneAssumeNegativeIndicates that input is always interpreted as a negative time interval.


Supported in: 5, 4

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

© 2015 Microsoft