你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

QueryTimeRange.Implicit(TimeSpan to QueryTimeRange) 操作员

定义

TimeSpan 转换为 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

参数

timeSpan
TimeSpan

要转换的 TimeSpan 值。

返回

适用于