| Duration Structure |
Namespace: Windows.UI.Xaml
public struct Duration
The Duration type exposes the following members.
| Name | Description | |
|---|---|---|
| Duration |
Initializes a new instance of the Windows.UI.Xaml.Duration structure with
the supplied System.TimeSpan value.
|
| Name | Description | |
|---|---|---|
| Equals(Duration) |
Determines whether a specified Windows.UI.Xaml.Duration is equal to this
Windows.UI.Xaml.Duration.
| |
| Equals(Object) |
Determines whether a specified object is equal to a Windows.UI.Xaml.Duration.
(Overrides ValueTypeEquals(Object).) | |
| Equals(Duration, Duration) |
Determines whether two Windows.UI.Xaml.Duration values are equal.
| |
| GetHashCode |
Gets a hash code for this object.
(Overrides ValueTypeGetHashCode.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
| Equality |
Determines whether two Windows.UI.Xaml.Duration cases are equal.
| |
| Inequality |
Determines if two Windows.UI.Xaml.Duration cases are not equal.
| |
| Subtraction |
Subtracts the value of one Windows.UI.Xaml.Duration from another.
| |
| UnaryPlus |
Returns the specified Windows.UI.Xaml.Duration.
|
| Name | Description | |
|---|---|---|
| Automatic |
Gets a Windows.UI.Xaml.Duration value that is automatically determined.
| |
| Forever |
Gets a Windows.UI.Xaml.Duration value that represents an infinite interval.
| |
| HasTimeSpan |
Gets a value that indicates if this Windows.UI.Xaml.Duration represents a
System.TimeSpan value.
| |
| TimeSpan |
Gets the System.TimeSpan value that this Windows.UI.Xaml.Duration represents.
|