DateTimeOffset.Deconstruct(DateOnly, TimeOnly, TimeSpan) Metoda

Definicja

Dekonstruktoruje to DateTimeOffset wystąpienie według DateOnly, TimeOnlyi 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)

Parametry

date
DateOnly

Gdy ta metoda zostanie zwrócona, reprezentuje DateOnly wartość tego DateTimeOffset wystąpienia.

time
TimeOnly

Gdy ta metoda zostanie zwrócona, reprezentuje TimeOnly wartość tego DateTimeOffset wystąpienia.

offset
TimeSpan

Gdy ta metoda zostanie zwrócona, reprezentuje Offset wartość tego DateTimeOffset wystąpienia.

Dotyczy