Windows Dev Center

IPropertyValue.GetTimeSpan method

Returns the time interval value stored as a property value.

Syntax


TimeSpan GetTimeSpan()

Parameters

This method has no parameters.

Return value

Type: TimeSpan

The value.

Requirements (Windows 10 device family)

Device family

Universal

API contract

Windows.Foundation.FoundationContract, introduced version 1.0

Namespace

Windows::Foundation

Metadata

Windows.Foundation.FoundationContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8

Namespace

Windows::Foundation

Metadata

Windows.winmd

See also

IPropertyValue

 

 

Show:
© 2015 Microsoft