Compartilhar via


DateTimeOffset.Deconstruct(DateOnly, TimeOnly, TimeSpan) Método

Definição

Desconstrui essa DateTimeOffset instância por DateOnly, TimeOnlye 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)

Parâmetros

date
DateOnly

Quando esse método retorna, representa o DateOnly valor dessa DateTimeOffset instância.

time
TimeOnly

Quando esse método retorna, representa o TimeOnly valor dessa DateTimeOffset instância.

offset
TimeSpan

Quando esse método retorna, representa o Offset valor dessa DateTimeOffset instância.

Aplica-se a