共用方式為


KeywordQueryProperties.TimeZone Property

Gets or sets the time zone for the search query.

Namespace:  Microsoft.SharePoint.Search.Query
Assembly:  Microsoft.SharePoint.Search (in Microsoft.SharePoint.Search.dll)

Syntax

'Declaration
Public Property TimeZone As TimeZoneInfo
    Get
    Set
'Usage
Dim instance As KeywordQueryProperties
Dim value As TimeZoneInfo

value = instance.TimeZone

instance.TimeZone = value
public TimeZoneInfo TimeZone { get; set; }

Property Value

Type: System.TimeZoneInfo
The time zone.

See Also

Reference

KeywordQueryProperties Class

KeywordQueryProperties Members

Microsoft.SharePoint.Search.Query Namespace