WBEMTime::operator-= method (wbemtime.h)

[The WBEMTime class is part of the WMI Provider Framework which is now considered in final state, and no further development, enhancements, or updates will be available for non-security related issues affecting these libraries. The MI APIs should be used for all new development.]

The WBEMTime class subtract-and-assign (–=) operator has been overloaded to decrement an object's time by a time span.

Syntax

const WBEMTime & operator-=(
  [ref] const WBEMTimeSpan & sub
);

Parameters

[ref] sub

Reference to the WBEMTimeSpan object, whose time span is subtracted from the specified object.

Return value

None

Remarks

The return value is a new WBEMTime object with a value equal to the "this" object after it has been decremented.

Requirements

Requirement Value
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Target Platform Windows
Header wbemtime.h
DLL FrameDynOS.dll; FrameDyn.dll