TimeOnly.Deconstruct 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
Deconstruct(Int32, Int32, Int32, Int32, Int32)
- Source:
- TimeOnly.cs
- Source:
- TimeOnly.cs
将此TimeOnly实例解构为 Hour、、Minute、SecondMillisecond、 和 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)
- Source:
- TimeOnly.cs
- Source:
- 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)
- Source:
- TimeOnly.cs
- Source:
- 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)
- Source:
- TimeOnly.cs
- Source:
- 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 实例的值。