TOD Class

TimeOfDay class

Inheritance Hierarchy

System.Object
  TwinCAT.PlcOpen.TimeBase
    TwinCAT.PlcOpen.TOD
Namespace:  TwinCAT.PlcOpen
Assembly:  TwinCAT.Ads (in TwinCAT.Ads.dll) Version: 4.3.0.0

Syntax

C#

public sealed class TOD : TimeBase

VB

Public NotInheritable Class TOD
    Inherits TimeBase

The TOD type exposes the following members.

Constructors

 

Name

Description

TOD.

Initializes a new instance of the TOD class.

TOD(Int64)

Initializes a new instance of the TOD class.

TOD(TimeSpan)

Initializes a new instance of the TOD class.

TOD(UInt32)

Initializes a new instance of the TOD class.

TOD(Int32, Int32, Int32, Int32, Int32)

Initializes a new instance of the TOD class.

Properties

 

Name

Description

Ticks

Returns the number of ticks that represent the value of this IPlcOpenType (uint32 or uint64). (Inherited from TimeBase.)

Time

Gets the time value. (Inherited from TimeBase.)

Methods

 

Name

Description

Equals

Determines whether the specified Object is equal to this instance. (Inherited from TimeBase.)

GetHashCode

Gets the HashCode of the Address (Inherited from TimeBase.)

GetType

Gets the Type of the current instance. (Inherited from Object.)

Parse

Parses the specified string to a TOD object.

ToString

Returns a string that represents the current object. (Overrides Object.ToString..)

TryParse

Tries to parse the string to a TOD object.

Reference

TwinCAT.PlcOpen Namespace