Click or drag to resize
Duration Structure
Represents the duration of time that a Windows.UI.Xaml.Media.Animation.Timeline is active.

Namespace: Windows.UI.Xaml
Assembly: CSharpXamlForHtml5 (in CSharpXamlForHtml5.dll) Version: 1.0.0.0
Syntax
C#
public struct Duration

The Duration type exposes the following members.

Constructors
  NameDescription
Public methodDuration
Initializes a new instance of the Windows.UI.Xaml.Duration structure with the supplied System.TimeSpan value.
Top
Methods
  NameDescription
Public methodEquals(Duration)
Determines whether a specified Windows.UI.Xaml.Duration is equal to this Windows.UI.Xaml.Duration.
Public methodEquals(Object)
Determines whether a specified object is equal to a Windows.UI.Xaml.Duration.
(Overrides ValueTypeEquals(Object).)
Public methodStatic memberEquals(Duration, Duration)
Determines whether two Windows.UI.Xaml.Duration values are equal.
Public methodGetHashCode
Gets a hash code for this object.
(Overrides ValueTypeGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Operators
  NameDescription
Public operatorStatic memberEquality
Determines whether two Windows.UI.Xaml.Duration cases are equal.
Public operatorStatic memberInequality
Determines if two Windows.UI.Xaml.Duration cases are not equal.
Public operatorStatic memberSubtraction
Subtracts the value of one Windows.UI.Xaml.Duration from another.
Public operatorStatic memberUnaryPlus
Returns the specified Windows.UI.Xaml.Duration.
Top
Properties
  NameDescription
Public propertyStatic memberAutomatic
Gets a Windows.UI.Xaml.Duration value that is automatically determined.
Public propertyStatic memberForever
Gets a Windows.UI.Xaml.Duration value that represents an infinite interval.
Public propertyHasTimeSpan
Gets a value that indicates if this Windows.UI.Xaml.Duration represents a System.TimeSpan value.
Public propertyTimeSpan
Gets the System.TimeSpan value that this Windows.UI.Xaml.Duration represents.
Top
See Also