Share via


QueryTimeRange.Implicit(TimeSpan to QueryTimeRange) Operator

Definition

Converts a TimeSpan to a QueryTimeRange.

public static implicit operator Azure.Monitor.Query.QueryTimeRange (TimeSpan timeSpan);
static member op_Implicit : TimeSpan -> Azure.Monitor.Query.QueryTimeRange
Public Shared Widening Operator CType (timeSpan As TimeSpan) As QueryTimeRange

Parameters

timeSpan
TimeSpan

The TimeSpan value to convert.

Returns

Applies to