Duration Duration Duration Duration Struct

Definition

public value class Duration
[System.Security.SecurityCritical]
public struct Duration
type Duration = struct
Public Structure Duration
Inheritance
Attributes

Constructors

Duration(TimeSpan) Duration(TimeSpan) Duration(TimeSpan) Duration(TimeSpan)

Properties

Automatic Automatic Automatic Automatic
Forever Forever Forever Forever
HasTimeSpan HasTimeSpan HasTimeSpan HasTimeSpan
TimeSpan TimeSpan TimeSpan TimeSpan

Methods

Add(Duration) Add(Duration) Add(Duration) Add(Duration)
Compare(Duration, Duration) Compare(Duration, Duration) Compare(Duration, Duration) Compare(Duration, Duration)
Equals(Object) Equals(Object) Equals(Object) Equals(Object)
Equals(Duration) Equals(Duration) Equals(Duration) Equals(Duration)
Equals(Duration, Duration) Equals(Duration, Duration) Equals(Duration, Duration) Equals(Duration, Duration)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()
Subtract(Duration) Subtract(Duration) Subtract(Duration) Subtract(Duration)
ToString() ToString() ToString() ToString()

Operators

Addition(Duration, Duration) Addition(Duration, Duration) Addition(Duration, Duration) Addition(Duration, Duration)
Equality(Duration, Duration) Equality(Duration, Duration) Equality(Duration, Duration) Equality(Duration, Duration)
GreaterThan(Duration, Duration) GreaterThan(Duration, Duration) GreaterThan(Duration, Duration) GreaterThan(Duration, Duration)
GreaterThanOrEqual(Duration, Duration) GreaterThanOrEqual(Duration, Duration) GreaterThanOrEqual(Duration, Duration) GreaterThanOrEqual(Duration, Duration)
Implicit(TimeSpan to Duration) Implicit(TimeSpan to Duration) Implicit(TimeSpan to Duration) Implicit(TimeSpan to Duration)
Inequality(Duration, Duration) Inequality(Duration, Duration) Inequality(Duration, Duration) Inequality(Duration, Duration)
LessThan(Duration, Duration) LessThan(Duration, Duration) LessThan(Duration, Duration) LessThan(Duration, Duration)
LessThanOrEqual(Duration, Duration) LessThanOrEqual(Duration, Duration) LessThanOrEqual(Duration, Duration) LessThanOrEqual(Duration, Duration)
Subtraction(Duration, Duration) Subtraction(Duration, Duration) Subtraction(Duration, Duration) Subtraction(Duration, Duration)
UnaryPlus(Duration) UnaryPlus(Duration) UnaryPlus(Duration) UnaryPlus(Duration)

Applies to