'Declaration Public Enum TimeSpanFormat Inherits System.Enum
public enum TimeSpanFormat : System.Enum
Member | Description |
---|---|
Days | The TimeSpan is formatted as a value which represents the number of days it contains. |
Hours | The TimeSpan is formatted as a value which represents the number of hours it contains. |
Minutes | The TimeSpan is formatted as a value which represents the number of minutes it contains. |
Standard | The TimeSpan is formatted using the default string representation, i.e., the value returned from the TimeSpan's ToString method. |
Weeks | The TimeSpan is formatted as a value which represents the number of weeks it contains. |
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2