TimeOnly.Deconstruct 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
Deconstruct(Int32, Int32, Int32, Int32, Int32)
- 來源:
- TimeOnly.cs
- 來源:
- TimeOnly.cs
將此實例解構 TimeOnly 為 Hour 、 Minute 、 Second 、 Millisecond 和 Microsecond 。
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)
參數
- millisecond
- Int32
當這個方法傳回時,會 Millisecond 包含這個 TimeOnly 實例的值。
- microsecond
- Int32
當這個方法傳回時,會 Microsecond 包含這個 TimeOnly 實例的值。
適用於
Deconstruct(Int32, Int32)
- 來源:
- TimeOnly.cs
- 來源:
- TimeOnly.cs
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)
參數
適用於
Deconstruct(Int32, Int32, Int32)
- 來源:
- TimeOnly.cs
- 來源:
- TimeOnly.cs
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)
參數
適用於
Deconstruct(Int32, Int32, Int32, Int32)
- 來源:
- 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)
參數
- millisecond
- Int32
當這個方法傳回時,會 Millisecond 包含這個 TimeOnly 實例的值。