Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

TimeSpan Properties

The properties of the TimeSpan structure are listed here. For a complete list of TimeSpan structure members, see the TimeSpan Members topic.

Public Properties

public propertyDays

Supported by the .NET Compact Framework.

Gets the number of whole days represented by this instance.
public propertyHours

Supported by the .NET Compact Framework.

Gets the number of whole hours represented by this instance.
public propertyMilliseconds

Supported by the .NET Compact Framework.

Gets the number of whole milliseconds represented by this instance.
public propertyMinutes

Supported by the .NET Compact Framework.

Gets the number of whole minutes represented by this instance.
public propertySeconds

Supported by the .NET Compact Framework.

Gets the number of whole seconds represented by this instance.
public propertyTicks

Supported by the .NET Compact Framework.

Gets the value of this instance in ticks.
public propertyTotalDays

Supported by the .NET Compact Framework.

Gets the value of this instance expressed in whole and fractional days.
public propertyTotalHours

Supported by the .NET Compact Framework.

Gets the value of this instance expressed in whole and fractional hours.
public propertyTotalMilliseconds

Supported by the .NET Compact Framework.

Gets the value of this instance expressed in whole and fractional milliseconds.
public propertyTotalMinutes

Supported by the .NET Compact Framework.

Gets the value of this instance expressed in whole and fractional minutes.
public propertyTotalSeconds

Supported by the .NET Compact Framework.

Gets the value of this instance expressed in whole and fractional seconds.

See Also

TimeSpan Structure | System Namespace

Show:
© 2015 Microsoft