Επεξεργασία

Κοινή χρήση μέσω


TimeOnly.Deconstruct Method

Definition

Overloads

Deconstruct(Int32, Int32, Int32, Int32, Int32)

Deconstructs this TimeOnly instance into Hour, Minute, Second, Millisecond, and Microsecond.

Deconstruct(Int32, Int32)

Deconstructs this TimeOnly instance into Hour and Minute.

Deconstruct(Int32, Int32, Int32)

Deconstructs this TimeOnly instance into Hour, Minute, and Second.

Deconstruct(Int32, Int32, Int32, Int32)

Deconstructs this TimeOnly instance into Hour, Minute, Second, and Millisecond.

Deconstruct(Int32, Int32, Int32, Int32, Int32)

Source:
TimeOnly.cs
Source:
TimeOnly.cs

Deconstructs this TimeOnly instance into Hour, Minute, Second, Millisecond, and Microsecond.

public:
 void Deconstruct([Runtime::InteropServices::Out] int % hour, [Runtime::InteropServices::Out] int % minute, [Runtime::InteropServices::Out] int % second, [Runtime::InteropServices::Out] int % millisecond, [Runtime::InteropServices::Out] int % microsecond);
public void Deconstruct (out int hour, out int minute, out int second, out int millisecond, out int microsecond);
member this.Deconstruct : int * int * int * int * int -> unit
Public Sub Deconstruct (ByRef hour As Integer, ByRef minute As Integer, ByRef second As Integer, ByRef millisecond As Integer, ByRef microsecond As Integer)

Parameters

hour
Int32

When this method returns, contains the Hour value for this TimeOnly instance.

minute
Int32

When this method returns, contains the Minute value for this TimeOnly instance.

second
Int32

When this method returns, contains the Second value for this TimeOnly instance.

millisecond
Int32

When this method returns, contains the Millisecond value for this TimeOnly instance.

microsecond
Int32

When this method returns, contains the Microsecond value for this TimeOnly instance.

Applies to

Deconstruct(Int32, Int32)

Source:
TimeOnly.cs
Source:
TimeOnly.cs

Deconstructs this TimeOnly instance into Hour and Minute.

public:
 void Deconstruct([Runtime::InteropServices::Out] int % hour, [Runtime::InteropServices::Out] int % minute);
public void Deconstruct (out int hour, out int minute);
member this.Deconstruct : int * int -> unit
Public Sub Deconstruct (ByRef hour As Integer, ByRef minute As Integer)

Parameters

hour
Int32

When this method returns, contains the Hour value for this TimeOnly instance.

minute
Int32

When this method returns, contains the Minute value for this TimeOnly instance.

Applies to

Deconstruct(Int32, Int32, Int32)

Source:
TimeOnly.cs
Source:
TimeOnly.cs

Deconstructs this TimeOnly instance into Hour, Minute, and Second.

public:
 void Deconstruct([Runtime::InteropServices::Out] int % hour, [Runtime::InteropServices::Out] int % minute, [Runtime::InteropServices::Out] int % second);
public void Deconstruct (out int hour, out int minute, out int second);
member this.Deconstruct : int * int * int -> unit
Public Sub Deconstruct (ByRef hour As Integer, ByRef minute As Integer, ByRef second As Integer)

Parameters

hour
Int32

When this method returns, contains the Hour value for this TimeOnly instance.

minute
Int32

When this method returns, contains the Minute value for this TimeOnly instance.

second
Int32

When this method returns, contains the Second value for this TimeOnly instance.

Applies to

Deconstruct(Int32, Int32, Int32, Int32)

Source:
TimeOnly.cs
Source:
TimeOnly.cs

Deconstructs this TimeOnly instance into Hour, Minute, Second, and Millisecond.

public:
 void Deconstruct([Runtime::InteropServices::Out] int % hour, [Runtime::InteropServices::Out] int % minute, [Runtime::InteropServices::Out] int % second, [Runtime::InteropServices::Out] int % millisecond);
public void Deconstruct (out int hour, out int minute, out int second, out int millisecond);
member this.Deconstruct : int * int * int * int -> unit
Public Sub Deconstruct (ByRef hour As Integer, ByRef minute As Integer, ByRef second As Integer, ByRef millisecond As Integer)

Parameters

hour
Int32

When this method returns, contains the Hour value for this TimeOnly instance.

minute
Int32

When this method returns, contains the Minute value for this TimeOnly instance.

second
Int32

When this method returns, contains the Second value for this TimeOnly instance.

millisecond
Int32

When this method returns, contains the Millisecond value for this TimeOnly instance.

Applies to