DateOnly.Deconstruct(Int32, Int32, Int32) 方法

定义

YearMonthDay进行析构DateOnly

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

参数

year
Int32

此方法返回时,表示 YearDateOnly 实例的值。

month
Int32

此方法返回时,表示 MonthDateOnly 实例的值。

day
Int32

此方法返回时,表示 DayDateOnly 实例的值。

适用于