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

TimeZoneTimeZoneInformation 构造函数

定义

重载

TimeZoneTimeZoneInformation()

初始化 TimeZoneTimeZoneInformation 类的新实例。

TimeZoneTimeZoneInformation(String, String, String)

初始化 TimeZoneTimeZoneInformation 类的新实例。

TimeZoneTimeZoneInformation()

初始化 TimeZoneTimeZoneInformation 类的新实例。

public TimeZoneTimeZoneInformation ();
Public Sub New ()

适用于

TimeZoneTimeZoneInformation(String, String, String)

初始化 TimeZoneTimeZoneInformation 类的新实例。

public TimeZoneTimeZoneInformation (string location, string time, string utcOffset);
new Microsoft.Azure.CognitiveServices.Search.WebSearch.Models.TimeZoneTimeZoneInformation : string * string * string -> Microsoft.Azure.CognitiveServices.Search.WebSearch.Models.TimeZoneTimeZoneInformation
Public Sub New (location As String, time As String, utcOffset As String)

参数

location
String

地理位置的名称。例如,县;城市;城市、州;城市、州、国家/地区;或时区。

time
String

以形式 YYYY-MM-DDThh;mm:ss.sssssZ 指定的数据和时间。

utcOffset
String

与 UTC 的偏移量。 例如 UTC-7。

适用于