TimeZone Constructors

Definition

Overloads

TimeZone()

Initializes a new instance of the TimeZone class.

TimeZone(TimeZoneTimeZoneInformation, String, String, IList<Query>, QueryContext, Nullable<Int64>, Nullable<Boolean>, IList<TimeZoneTimeZoneInformation>)

Initializes a new instance of the TimeZone class.

TimeZone()

Initializes a new instance of the TimeZone class.

public TimeZone ();
Public Sub New ()

Applies to

TimeZone(TimeZoneTimeZoneInformation, String, String, IList<Query>, QueryContext, Nullable<Int64>, Nullable<Boolean>, IList<TimeZoneTimeZoneInformation>)

Initializes a new instance of the TimeZone class.

public TimeZone (Microsoft.Azure.CognitiveServices.Search.WebSearch.Models.TimeZoneTimeZoneInformation primaryCityTime, string id = default, string webSearchUrl = default, System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.WebSearch.Models.Query> followUpQueries = default, Microsoft.Azure.CognitiveServices.Search.WebSearch.Models.QueryContext queryContext = default, long? totalEstimatedMatches = default, bool? isFamilyFriendly = default, System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.WebSearch.Models.TimeZoneTimeZoneInformation> otherCityTimes = default);
new Microsoft.Azure.CognitiveServices.Search.WebSearch.Models.TimeZone : Microsoft.Azure.CognitiveServices.Search.WebSearch.Models.TimeZoneTimeZoneInformation * string * string * System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.WebSearch.Models.Query> * Microsoft.Azure.CognitiveServices.Search.WebSearch.Models.QueryContext * Nullable<int64> * Nullable<bool> * System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.WebSearch.Models.TimeZoneTimeZoneInformation> -> Microsoft.Azure.CognitiveServices.Search.WebSearch.Models.TimeZone
Public Sub New (primaryCityTime As TimeZoneTimeZoneInformation, Optional id As String = Nothing, Optional webSearchUrl As String = Nothing, Optional followUpQueries As IList(Of Query) = Nothing, Optional queryContext As QueryContext = Nothing, Optional totalEstimatedMatches As Nullable(Of Long) = Nothing, Optional isFamilyFriendly As Nullable(Of Boolean) = Nothing, Optional otherCityTimes As IList(Of TimeZoneTimeZoneInformation) = Nothing)

Parameters

primaryCityTime
TimeZoneTimeZoneInformation

The data and time, in UTC, of the geographic location specified in the query. If the query specified a specific geographic location (for example, a city), this object contains the name of the geographic location and the current date and time of the location, in UTC. If the query specified a general geographic location, such as a state or country, this object contains the date and time of the primary city or state found in the specified state or country. If the location contains additional time zones, the otherCityTimes field contains the data and time of cities or states located in the other time zones.

id
String

A String identifier.

webSearchUrl
String

The URL To Bing's search result for this item.

followUpQueries
IList<Query>
queryContext
QueryContext
totalEstimatedMatches
Nullable<Int64>

The estimated number of webpages that are relevant to the query. Use this number along with the count and offset query parameters to page the results.

isFamilyFriendly
Nullable<Boolean>
otherCityTimes
IList<TimeZoneTimeZoneInformation>

A list of dates and times of nearby time zones.

Applies to