語言

TimeOnly.Deconstruct 方法

定義

多載

名稱 Description
Deconstruct(Int32, Int32, Int32, Int32, Int32)

將此TimeOnly實例分解為 Hour、 Minute、 SecondMillisecondMicrosecond、 和 。

Deconstruct(Int32, Int32)

將此 TimeOnly 實例分解為 Hour 和 Minute。

Deconstruct(Int32, Int32, Int32)

將此 TimeOnly 實例分解為 Hour、 Minute、 Second和 。

Deconstruct(Int32, Int32, Int32, Int32)

將此 TimeOnly 實例分解為 Hour、 Minute、 Second、 Millisecond和 。

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

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

將此TimeOnly實例分解為 Hour、 Minute、 SecondMillisecondMicrosecond、 和 。

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
來源:
TimeOnly.cs
來源:
TimeOnly.cs

將此 TimeOnly 實例分解為 Hour 和 Minute。

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
來源:
TimeOnly.cs
來源:
TimeOnly.cs

將此 TimeOnly 實例分解為 Hour、 Minute、 Second和 。

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
來源:
TimeOnly.cs
來源:
TimeOnly.cs

將此 TimeOnly 實例分解為 Hour、 Minute、 Second、 Millisecond和 。

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 實例的值。

適用於