Partager via


DateTimeOffset.Subtraction Operator

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Include Protected Members
Include Inherited Members

Include Silverlight Members
Include Silverlight for Windows Phone Members
Include XNA Framework Members

Subtracts a specified DateTimeOffset or TimeSpan object from a DateTimeOffset object.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public operatorStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 Subtraction(DateTimeOffset, DateTimeOffset) Subtracts one DateTimeOffset object from another and yields a time interval.
Public operatorStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 Subtraction(DateTimeOffset, TimeSpan) Subtracts a specified time interval from a specified date and time, and yields a new date and time.

Top