TimeOnly.Deconstruct 方法

定义

重载

Deconstruct(Int32, Int32, Int32, Int32, Int32)

将此 TimeOnly 实例解构为 HourMinuteSecondMillisecondMicrosecond

Deconstruct(Int32, Int32)

将此 TimeOnly 实例解构为 HourMinute

Deconstruct(Int32, Int32, Int32)

将此 TimeOnly 实例解构为 HourMinuteSecond

Deconstruct(Int32, Int32, Int32, Int32)

将此 TimeOnly 实例解构为 HourMinuteSecondMillisecond

Deconstruct(Int32, Int32, Int32, Int32, Int32)

Source:
TimeOnly.cs
Source:
TimeOnly.cs

将此 TimeOnly 实例解构为 HourMinuteSecondMillisecondMicrosecond

public:
 void Deconstruct([Runtime::InteropServices::Out] int % hour, [Runtime::InteropServices::Out] int % minute, [Runtime::InteropServices::Out] int % second, [Runtime::InteropServices::Out] int % millisecond, [Runtime::InteropServices::Out] int % microsecond);
public void Deconstruct (out int hour, out int minute, out int second, out int millisecond, out int microsecond);
member this.Deconstruct : int * int * int * int * int -> unit
Public Sub Deconstruct (ByRef hour As Integer, ByRef minute As Integer, ByRef second As Integer, ByRef millisecond As Integer, ByRef microsecond As Integer)

参数

hour
Int32

此方法返回时,包含此 TimeOnly 实例的 Hour 值。

minute
Int32

此方法返回时,包含此 TimeOnly 实例的 Minute 值。

second
Int32

此方法返回时,包含此 TimeOnly 实例的 Second 值。

millisecond
Int32

此方法返回时,包含此 TimeOnly 实例的 Millisecond 值。

microsecond
Int32

此方法返回时,包含此 TimeOnly 实例的 Microsecond 值。

适用于

Deconstruct(Int32, Int32)

Source:
TimeOnly.cs
Source:
TimeOnly.cs

将此 TimeOnly 实例解构为 HourMinute

public:
 void Deconstruct([Runtime::InteropServices::Out] int % hour, [Runtime::InteropServices::Out] int % minute);
public void Deconstruct (out int hour, out int minute);
member this.Deconstruct : int * int -> unit
Public Sub Deconstruct (ByRef hour As Integer, ByRef minute As Integer)

参数

hour
Int32

此方法返回时,包含此 TimeOnly 实例的 Hour 值。

minute
Int32

此方法返回时,包含此 TimeOnly 实例的 Minute 值。

适用于

Deconstruct(Int32, Int32, Int32)

Source:
TimeOnly.cs
Source:
TimeOnly.cs

将此 TimeOnly 实例解构为 HourMinuteSecond

public:
 void Deconstruct([Runtime::InteropServices::Out] int % hour, [Runtime::InteropServices::Out] int % minute, [Runtime::InteropServices::Out] int % second);
public void Deconstruct (out int hour, out int minute, out int second);
member this.Deconstruct : int * int * int -> unit
Public Sub Deconstruct (ByRef hour As Integer, ByRef minute As Integer, ByRef second As Integer)

参数

hour
Int32

此方法返回时,包含此 TimeOnly 实例的 Hour 值。

minute
Int32

此方法返回时,包含此 TimeOnly 实例的 Minute 值。

second
Int32

此方法返回时,包含此 TimeOnly 实例的 Second 值。

适用于

Deconstruct(Int32, Int32, Int32, Int32)

Source:
TimeOnly.cs
Source:
TimeOnly.cs

将此 TimeOnly 实例解构为 HourMinuteSecondMillisecond

public:
 void Deconstruct([Runtime::InteropServices::Out] int % hour, [Runtime::InteropServices::Out] int % minute, [Runtime::InteropServices::Out] int % second, [Runtime::InteropServices::Out] int % millisecond);
public void Deconstruct (out int hour, out int minute, out int second, out int millisecond);
member this.Deconstruct : int * int * int * int -> unit
Public Sub Deconstruct (ByRef hour As Integer, ByRef minute As Integer, ByRef second As Integer, ByRef millisecond As Integer)

参数

hour
Int32

此方法返回时,包含此 TimeOnly 实例的 Hour 值。

minute
Int32

此方法返回时,包含此 TimeOnly 实例的 Minute 值。

second
Int32

此方法返回时,包含此 TimeOnly 实例的 Second 值。

millisecond
Int32

此方法返回时,包含此 TimeOnly 实例的 Millisecond 值。

适用于