Partage via


TimeOnly Constructeurs

Définition

Surcharges

TimeOnly(Int64)

Initialise une nouvelle instance de la structure à l’aide TimeOnly d’un nombre spécifié de cycles.

TimeOnly(Int32, Int32)

Initialise une nouvelle instance de la TimeOnly structure à l’heure spécifiée et à la minute.

TimeOnly(Int32, Int32, Int32)

Initialise une nouvelle instance de la structure à l’heure, à la minute et à la TimeOnly seconde spécifiées.

TimeOnly(Int32, Int32, Int32, Int32)

Initialise une nouvelle instance de la TimeOnly structure à l’heure, à la minute, à la seconde et à la milliseconde spécifiées.

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

Initialise une nouvelle instance de la TimeOnly structure à l’heure, à la minute, à la seconde et à la milliseconde spécifiées.

TimeOnly(Int64)

Initialise une nouvelle instance de la structure à l’aide TimeOnly d’un nombre spécifié de cycles.

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

Paramètres

ticks
Int64

Heure de jour exprimée dans le nombre d’unités de 100 nanosecondes depuis 00:00:00.000000.

S’applique à

TimeOnly(Int32, Int32)

Initialise une nouvelle instance de la TimeOnly structure à l’heure spécifiée et à la 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)

Paramètres

hour
Int32

Heures (0 à 23).

minute
Int32

Minutes (0 à 59).

S’applique à

TimeOnly(Int32, Int32, Int32)

Initialise une nouvelle instance de la structure à l’heure, à la minute et à la TimeOnly seconde spécifiées.

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)

Paramètres

hour
Int32

Heures (0 à 23).

minute
Int32

Minutes (0 à 59).

second
Int32

Secondes (0 à 59).

S’applique à

TimeOnly(Int32, Int32, Int32, Int32)

Initialise une nouvelle instance de la TimeOnly structure à l’heure, à la minute, à la seconde et à la milliseconde spécifiées.

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)

Paramètres

hour
Int32

Heures (0 à 23).

minute
Int32

Minutes (0 à 59).

second
Int32

Secondes (0 à 59).

millisecond
Int32

Milliseconde (0 à 999).

S’applique à

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

Initialise une nouvelle instance de la TimeOnly structure à l’heure, à la minute, à la seconde et à la milliseconde spécifiées.

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)

Paramètres

hour
Int32

Heures (0 à 23).

minute
Int32

Minutes (0 à 59).

second
Int32

Secondes (0 à 59).

millisecond
Int32

Milliseconde (0 à 999).

microsecond
Int32

Microseconde (0 à 999).

S’applique à