Edit

Share via


Duration Struct

Definition

public struct Duration : IComparable, IComparable<Microsoft.Windows.EventTracing.Duration>, IEquatable<Microsoft.Windows.EventTracing.Duration>
type Duration = struct
Public Structure Duration
Implements IComparable, IComparable(Of Duration), IEquatable(Of Duration)
Inheritance
Duration
Implements

Constructors

Duration(Int64)

Fields

MaxValue
MinValue
Zero

Properties

Nanoseconds
TimeSpan
TotalMicroseconds
TotalMilliseconds
TotalSeconds

Methods

CompareTo(Duration)
CompareTo(Object)
Equals(Duration)
Equals(Object)
FromMicroseconds(Decimal)
FromMicroseconds(Int64)
FromMilliseconds(Decimal)
FromMilliseconds(Int64)
FromNanoseconds(Decimal)
FromNanoseconds(Int64)
FromSeconds(Decimal)
FromSeconds(Int64)
FromTimeSpan(TimeSpan)
GetHashCode()
Max(Duration, Duration)
Min(Duration, Duration)
ToString()

Operators

Addition(Duration, Duration)
Equality(Duration, Duration)
GreaterThan(Duration, Duration)
GreaterThanOrEqual(Duration, Duration)
Inequality(Duration, Duration)
LessThan(Duration, Duration)
LessThanOrEqual(Duration, Duration)
Subtraction(Duration, Duration)
UnaryNegation(Duration)

Applies to