Share via


TimeSpan Constructors

Definition

Overloads

TimeSpan()

Initializes a new instance of the TimeSpan class.

TimeSpan(Nullable<DateTime>, Nullable<DateTime>)

Initializes a new instance of the TimeSpan class.

TimeSpan()

Initializes a new instance of the TimeSpan class.

public TimeSpan ();
Public Sub New ()

Applies to

TimeSpan(Nullable<DateTime>, Nullable<DateTime>)

Initializes a new instance of the TimeSpan class.

public TimeSpan (DateTime? start = default, DateTime? end = default);
new Microsoft.Azure.Management.ContainerService.Models.TimeSpan : Nullable<DateTime> * Nullable<DateTime> -> Microsoft.Azure.Management.ContainerService.Models.TimeSpan
Public Sub New (Optional start As Nullable(Of DateTime) = Nothing, Optional end As Nullable(Of DateTime) = Nothing)

Parameters

start
Nullable<DateTime>

The start of a time span

end
Nullable<DateTime>

The end of a time span

Applies to