DateTime.Deconstruct Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Deconstruct(DateOnly, TimeOnly) |
Deconstructs this DateTime instance by DateOnly and TimeOnly. |
Deconstruct(Int32, Int32, Int32) |
Deconstructs this DateOnly instance by Year, Month, and Day. |
Deconstruct(DateOnly, TimeOnly)
- Source:
- DateTime.cs
- Source:
- 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)
Parameters
Applies to
Deconstruct(Int32, Int32, Int32)
- Source:
- DateTime.cs
- Source:
- 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)
Parameters
Applies to
Dolgozzon együtt velünk a GitHubon
A tartalom forrása a GitHubon található, ahol létrehozhat és áttekinthet problémákat és lekéréses kérelmeket is. További információért tekintse meg a közreműködői útmutatónkat.