A representation of duration as a numeric value and a display string.

C# | Visual Basic |
public class Duration : IScriptDataConverter
Public Class Duration _ Implements IScriptDataConverter

All Members | Constructors | Methods | Fields | ||
Icon | Member | Description |
---|---|---|
![]() | Duration()()()() | Initializes a new instance of the Duration class |
![]() | Equals(Object) | (Inherited from Object.) |
![]() | Finalize()()()() | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
![]() ![]() | FromScriptData(Object) |
Retrieves an instance from script data.
|
![]() | GetHashCode()()()() | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType()()()() | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone()()()() | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | Text |
A string representation of the duration value.
|
![]() | ToScriptData()()()() |
Returns the instance as a script data.
|
![]() | ToString()()()() | (Inherited from Object.) |
![]() | Value |
The duration in seconds.
|

Object | |
![]() | Duration |