共用方式為


IntlDate.Year property

取得或設定國際日期的整數年份值。

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

Syntax

'宣告
Public Property Year As Integer
    Get
    Set
'用途
Dim instance As IntlDate
Dim value As Integer

value = instance.Year

instance.Year = value
public int Year { get; set; }

Property value

Type: System.Int32
Integer 表示國際日期的年份。

請參閱

參照

IntlDate class

IntlDate members

Microsoft.SharePoint.Utilities namespace