共用方式為


SPQuery.DatesInUtc property

取得或設定布林值,指定查詢是否傳回以國際標準時間 (UTC) 格式的日期。

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

Syntax

'宣告
Public Property DatesInUtc As Boolean
    Get
    Set
'用途
Dim instance As SPQuery
Dim value As Boolean

value = instance.DatesInUtc

instance.DatesInUtc = value
public bool DatesInUtc { get; set; }

Property value

Type: System.Boolean
true如果日期就會傳回 UTC 格式 ;否則, false。

請參閱

參照

SPQuery class

SPQuery members

Microsoft.SharePoint namespace