TimeOnly.Deconstruct 方法

定義

多載

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

將此實例解構 TimeOnlyHourMinuteSecondMillisecondMicrosecond

Deconstruct(Int32, Int32)

將此實例解構 TimeOnlyHourMinute

Deconstruct(Int32, Int32, Int32)

將此實例解構 TimeOnlyHourMinuteSecond

Deconstruct(Int32, Int32, Int32, Int32)

將此實例解構 TimeOnlyHourMinuteSecondMillisecond

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

來源:
TimeOnly.cs
來源:
TimeOnly.cs

將此實例解構 TimeOnlyHourMinuteSecondMillisecondMicrosecond

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

當這個方法傳回時,會 Hour 包含這個 TimeOnly 實例的值。

minute
Int32

當這個方法傳回時,會 Minute 包含這個 TimeOnly 實例的值。

second
Int32

當這個方法傳回時,會 Second 包含這個 TimeOnly 實例的值。

millisecond
Int32

當這個方法傳回時,會 Millisecond 包含這個 TimeOnly 實例的值。

microsecond
Int32

當這個方法傳回時,會 Microsecond 包含這個 TimeOnly 實例的值。

適用於

Deconstruct(Int32, Int32)

來源:
TimeOnly.cs
來源:
TimeOnly.cs

將此實例解構 TimeOnlyHourMinute

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

當這個方法傳回時,會 Hour 包含這個 TimeOnly 實例的值。

minute
Int32

當這個方法傳回時,會 Minute 包含這個 TimeOnly 實例的值。

適用於

Deconstruct(Int32, Int32, Int32)

來源:
TimeOnly.cs
來源:
TimeOnly.cs

將此實例解構 TimeOnlyHourMinuteSecond

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

當這個方法傳回時,會 Hour 包含這個 TimeOnly 實例的值。

minute
Int32

當這個方法傳回時,會 Minute 包含這個 TimeOnly 實例的值。

second
Int32

當這個方法傳回時,會 Second 包含這個 TimeOnly 實例的值。

適用於

Deconstruct(Int32, Int32, Int32, Int32)

來源:
TimeOnly.cs
來源:
TimeOnly.cs

將此實例解構 TimeOnlyHourMinuteSecondMillisecond

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

當這個方法傳回時,會 Hour 包含這個 TimeOnly 實例的值。

minute
Int32

當這個方法傳回時,會 Minute 包含這個 TimeOnly 實例的值。

second
Int32

當這個方法傳回時,會 Second 包含這個 TimeOnly 實例的值。

millisecond
Int32

當這個方法傳回時,會 Millisecond 包含這個 TimeOnly 實例的值。

適用於