Timespan Class
Note: This API is now obsolete.
Represents a period of time in nanoseconds.
Inheritance Hierarchy
          System.Object
          
  TcHmiSrv.Timespan
Namespace:  TcHmiSrv
Assembly:  TcHmiSrvExtNet (in
TcHmiSrvExtNet.dll) Version: 3.0.0.0
Syntax
C#
[ObsoleteAttribute("Type 'TcHmiSrv.Timespan' is obsolete. Use type 'System.TimeSpan' instead.")]
public class Timespan : IEquatable<Timespan>, 
    IDisposableThe Timespan type exposes the following members.
Constructors
| 
                   
  | 
                   Name  | 
                   Description  | 
|---|---|---|
| 
                   
                      | 
                   Initializes a new instance of the Timespan class.  | |
| 
                   
                      | 
                   Initializes a new instance of the Timespan class with the specified number of nanoseconds.  | |
| 
                   
                      | 
                   Initializes a new instance of the Timespan class based on another Timespan.  | 
Properties
| 
                   
  | 
                   Name  | 
                   Description  | 
|---|---|---|
| 
                   
                      | 
                   Gets the number of milliseconds from the current Timespan.  | |
| 
                   
                      | 
                   Gets the number of nanoseconds from the current Timespan.  | |
| 
                   
                      | 
                   Gets the number of seconds from the current Timespan.  | 
Methods
| 
                   
  | 
                   Name  | 
                   Description  | 
|---|---|---|
| 
                   
                      | 
                   Releases all resources used by the Timespan  | |
| 
                   
                      | 
                   Releases the unmanaged resources used by the Timespan and optionally releases the managed resources  | |
| 
                   
                      | 
                   Determines whether the specified object is equal to the current object. (Inherited from Object.)  | |
| 
                   
                      | 
                   Indicates whether the current Timespan is equal to another Timespan.  | |
| 
                   
                      | 
                   (Overrides Object.Finalize..)  | |
| 
                   
                      | 
                   Serves as the default hash function. (Inherited from Object.)  | |
| 
                   
                      | 
                   Gets the Type of the current instance. (Inherited from Object.)  | |
| 
                   
                      | 
                   Creates a shallow copy of the current Object. (Inherited from Object.)  | |
| 
                   
                      | 
                   Returns a string that represents the current object. (Inherited from Object.)  | 
Operators
| 
                   
  | 
                   Name  | 
                   Description  | 
|---|---|---|
| 
                   
                     
                      | 
                   Determines whether two instances of the Timespan class are equal.  | |
| 
                   
                     
                      | 
                   Converts an instance of the Timespan class to the appropriate instance of the TimeSpan class.  | |
| 
                   
                     
                      | 
                   Converts an instance of the TimeSpan class to the appropriate instance of the Timespan class.  | |
| 
                   
                     
                      | 
                   Determines whether two instances of the Timespan class are not equal.  |