WBEMTime::operator-= method

[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 &ts
);

Parameters

ts [ref]

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

Remarks

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

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Header

WbemTime.h

DLL

FrameDynOS.dll;
FrameDyn.dll

 

 

Show: