Windows Dev Center

Collapse the table of content
Expand the table of content
Expand Minimize
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IPropertyValue::GetTimeSpan method

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

Syntax


HRESULT GetTimeSpan(
  [out, retval] TimeSpan *value
);

Parameters

value [out, retval]

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

Header

Windows.Foundation.h

IDL

Windows.Foundation.idl

See also

IPropertyValue
IPropertyValueStatics::CreateTimeSpan

 

 

Community Additions

Show:
© 2015 Microsoft