Breyta

Deila með


TimeOnly Constructors

Definition

Overloads

TimeOnly(Int64)

Initializes a new instance of the TimeOnly structure using a specified number of ticks.

TimeOnly(Int32, Int32)

Initializes a new instance of the TimeOnly structure to the specified hour and the minute.

TimeOnly(Int32, Int32, Int32)

Initializes a new instance of the TimeOnly structure to the specified hour, minute, and second.

TimeOnly(Int32, Int32, Int32, Int32)

Initializes a new instance of the TimeOnly structure to the specified hour, minute, second, and millisecond.

TimeOnly(Int32, Int32, Int32, Int32, Int32)

Initializes a new instance of the TimeOnly structure to the specified hour, minute, second, millisecond, and microsecond.

TimeOnly(Int64)

Source:
TimeOnly.cs
Source:
TimeOnly.cs
Source:
TimeOnly.cs

Initializes a new instance of the TimeOnly structure using a specified number of ticks.

public:
 TimeOnly(long ticks);
public TimeOnly (long ticks);
new TimeOnly : int64 -> TimeOnly
Public Sub New (ticks As Long)

Parameters

ticks
Int64

A time of day expressed in the number of 100-nanosecond units since 00:00:00.0000000.

Applies to

TimeOnly(Int32, Int32)

Source:
TimeOnly.cs
Source:
TimeOnly.cs
Source:
TimeOnly.cs

Initializes a new instance of the TimeOnly structure to the specified hour and the minute.

public:
 TimeOnly(int hour, int minute);
public TimeOnly (int hour, int minute);
new TimeOnly : int * int -> TimeOnly
Public Sub New (hour As Integer, minute As Integer)

Parameters

hour
Int32

The hours (0 through 23).

minute
Int32

The minutes (0 through 59).

Applies to

TimeOnly(Int32, Int32, Int32)

Source:
TimeOnly.cs
Source:
TimeOnly.cs
Source:
TimeOnly.cs

Initializes a new instance of the TimeOnly structure to the specified hour, minute, and second.

public:
 TimeOnly(int hour, int minute, int second);
public TimeOnly (int hour, int minute, int second);
new TimeOnly : int * int * int -> TimeOnly
Public Sub New (hour As Integer, minute As Integer, second As Integer)

Parameters

hour
Int32

The hours (0 through 23).

minute
Int32

The minutes (0 through 59).

second
Int32

The seconds (0 through 59).

Applies to

TimeOnly(Int32, Int32, Int32, Int32)

Source:
TimeOnly.cs
Source:
TimeOnly.cs
Source:
TimeOnly.cs

Initializes a new instance of the TimeOnly structure to the specified hour, minute, second, and millisecond.

public:
 TimeOnly(int hour, int minute, int second, int millisecond);
public TimeOnly (int hour, int minute, int second, int millisecond);
new TimeOnly : int * int * int * int -> TimeOnly
Public Sub New (hour As Integer, minute As Integer, second As Integer, millisecond As Integer)

Parameters

hour
Int32

The hours (0 through 23).

minute
Int32

The minutes (0 through 59).

second
Int32

The seconds (0 through 59).

millisecond
Int32

The millisecond (0 through 999).

Applies to

TimeOnly(Int32, Int32, Int32, Int32, Int32)

Source:
TimeOnly.cs
Source:
TimeOnly.cs
Source:
TimeOnly.cs

Initializes a new instance of the TimeOnly structure to the specified hour, minute, second, millisecond, and microsecond.

public:
 TimeOnly(int hour, int minute, int second, int millisecond, int microsecond);
public TimeOnly (int hour, int minute, int second, int millisecond, int microsecond);
new TimeOnly : int * int * int * int * int -> TimeOnly
Public Sub New (hour As Integer, minute As Integer, second As Integer, millisecond As Integer, microsecond As Integer)

Parameters

hour
Int32

The hours (0 through 23).

minute
Int32

The minutes (0 through 59).

second
Int32

The seconds (0 through 59).

millisecond
Int32

The millisecond (0 through 999).

microsecond
Int32

The microsecond (0 through 999).

Applies to