API Reference
Enum
DataTablesTimeSpanFormat
Formatting options for TimeSpan values rendered in DataTables.
Inheritance
- Enum
- DataTablesTimeSpanFormat
Inherited Methods
public override sealed Int32 CompareTo(Object target) #Returns:
Int32Inherited from Enum
Parameters
- target Object
public override sealed String ToString(String format, IFormatProvider provider) #Returns:
StringInherited from Enum
Obsolete("The provider argument is not used. Use ToString(String) instead.")Parameters
- format String
Values
public const DataTablesTimeSpanFormat Constant #Use TimeSpan.ToString() (constant/invariant, e.g., 1.00:00:00).
Value:
0public const DataTablesTimeSpanFormat LargestUnit #Show the largest non-zero unit only (e.g., "15 days", "3 hours").
Value:
1public const DataTablesTimeSpanFormat Custom #Use a custom format string (e.g., "dd\\:hh\\:mm").
Value:
3