แก้ไข

แชร์ผ่าน


DateOnly.Deconstruct(Int32, Int32, Int32) Method

Definition

Deconstructs DateOnly by Year, Month, and Day.

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)

Parameters

year
Int32

When this method returns, represents the Year value of this DateOnly instance.

month
Int32

When this method returns, represents the Month value of this DateOnly instance.

day
Int32

When this method returns, represents the Day value of this DateOnly instance.

Applies to