DateTime.Deconstruct Metódus
Definíció
Fontos
Egyes információk olyan, kiadás előtti termékekre vonatkoznak, amelyek a kiadásig még jelentősen módosulhatnak. A Microsoft nem vállal kifejezett vagy törvényi garanciát az itt megjelenő információért.
Túlterhelések
| Name | Description |
|---|---|
| Deconstruct(DateOnly, TimeOnly) |
Ez a példány a következő szerint és módon bontja fel a DateTime példányt DateOnly : és TimeOnly. |
| Deconstruct(Int32, Int32, Int32) |
A példányt Yeara következő szerint bontjaDateOnly: , Monthés Day. |
Deconstruct(DateOnly, TimeOnly)
- Forrás:
- DateTime.cs
- Forrás:
- DateTime.cs
- Forrás:
- DateTime.cs
- Forrás:
- DateTime.cs
public:
void Deconstruct([Runtime::InteropServices::Out] DateOnly % date, [Runtime::InteropServices::Out] TimeOnly % time);
public void Deconstruct(out DateOnly date, out TimeOnly time);
member this.Deconstruct : DateOnly * TimeOnly -> unit
Public Sub Deconstruct (ByRef date As DateOnly, ByRef time As TimeOnly)
Paraméterek
A következőre érvényes:
Deconstruct(Int32, Int32, Int32)
- Forrás:
- DateTime.cs
- Forrás:
- DateTime.cs
- Forrás:
- DateTime.cs
- Forrás:
- DateTime.cs
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)