Share via


IXRChangePropertyAction.SetDuration(XRDuration *) (Compact 2013)

3/28/2014

This method sets the Duration property.

Syntax

virtual HRESULT STDMETHODCALLTYPE SetDuration(
XRDuration *pValue)

Parameters

  • pValue
    [in] Pointer to an XRDuration object.

Return Value

Implement this method so that it returns S_OK if successful; otherwise, return the appropriate HRESULT value to indicate that the method was not successful.

Remarks

This method sets the corresponding ChangePropertyAction.Duration property in XAML.

See Also

Reference

IXRChangePropertyAction