共用方式為


SPSystemTime.Hour property

取得或設定小時。

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

Syntax

'宣告
Public Property Hour As UShort
    Get
    Set
'用途
Dim instance As SPSystemTime
Dim value As UShort

value = instance.Hour

instance.Hour = value
public ushort Hour { get; set; }

Property value

Type: System.UInt16
不帶正負號的 16 位元整數來指定小時。

請參閱

參照

SPSystemTime structure

SPSystemTime members

Microsoft.SharePoint namespace