DateTimeOffset.Deconstruct(DateOnly, TimeOnly, TimeSpan) 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.
Deconstructs this DateTimeOffset instance by DateOnly, TimeOnly, and TimeSpan.
public:
void Deconstruct([Runtime::InteropServices::Out] DateOnly % date, [Runtime::InteropServices::Out] TimeOnly % time, [Runtime::InteropServices::Out] TimeSpan % offset);
public void Deconstruct (out DateOnly date, out TimeOnly time, out TimeSpan offset);
member this.Deconstruct : DateOnly * TimeOnly * TimeSpan -> unit
Public Sub Deconstruct (ByRef date As DateOnly, ByRef time As TimeOnly, ByRef offset As TimeSpan)
Parameters
- date
- DateOnly
When this method returns, represents the DateOnly value of this DateTimeOffset instance.
- time
- TimeOnly
When this method returns, represents the TimeOnly value of this DateTimeOffset instance.
- offset
- TimeSpan
When this method returns, represents the Offset value of this DateTimeOffset instance.
Applies to
Vertu í samstarfi við okkur á GitHub
Heimildina fyrir þetta efni er að finna á GitHub, þar sem þú getur líka búið til og farið yfir vandamál og sameinað beiðnir. Frekari upplýsingar er að finna í framlagshandbók okkar.