Duration.Addition(Duration, Duration) Operator
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds two instances of Duration together.
public:
static System::Windows::Duration operator +(System::Windows::Duration t1, System::Windows::Duration t2);
public static System.Windows.Duration operator + (System.Windows.Duration t1, System.Windows.Duration t2);
static member ( + ) : System.Windows.Duration * System.Windows.Duration -> System.Windows.Duration
Public Shared Operator + (t1 As Duration, t2 As Duration) As Duration
Parameters
Returns
If both instances of Duration have TimeSpan values, this method returns the sum of those two values. If either value is set to Automatic, the method returns Automatic. If either value is set to Forever, the method returns Forever.
If either t1
or t2
has no value, this method returns null
.
Remarks
The equivalent method for this operator is Duration.Add(Duration)
Applies to
GitHub पर हमारे साथ सहयोग करें
इस सामग्री का स्रोत GitHub पर पाया जा सकता है, जहाँ आप समस्याएँ बना और समीक्षा भी कर सकते हैं और अनुरोध खींच सकते हैं. अधिक जानकारी के लिए, हमारे योगदानकर्ता गाइड देखें.