'Declaration Public Enum TimeSpanDaysPerWeek Inherits System.Enum
public enum TimeSpanDaysPerWeek : System.Enum
Member | Description |
---|---|
Five | A value of "1 week" translates to a TimeSpan which contains five days. |
Four | A value of "1 week" translates to a TimeSpan which contains four days. |
One | A value of "1 week" translates to a TimeSpan which contains one day. |
Seven | A value of "1 week" translates to a TimeSpan which contains seven days. |
Six | A value of "1 week" translates to a TimeSpan which contains six days. |
Three | A value of "1 week" translates to a TimeSpan which contains three days. |
Two | A value of "1 week" translates to a TimeSpan which contains two days. |
Each constant's numerical equivalent is the number it represents, and can be cast to/from an integer of the same value.
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