IPropertyValue::GetTimeSpan method (windows.foundation.h)

Gets the TimeSpan value that is stored in the current IPropertyValue object.

Syntax

HRESULT GetTimeSpan(
  [out, retval] ABI::Windows::Foundation::TimeSpan *value
);

Parameters

[out, retval] value

Type: TimeSpan*

The value.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

   
Minimum supported client Windows 8
Minimum supported server Windows Server 2012
Target Platform Windows
Header windows.foundation.h

See also

IPropertyValue

IPropertyValueStatics::CreateTimeSpan