SPIntlCal.EraOffset method
傳回要用於指定的行事曆類型和紀元中的日期的位移。
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Shared Function EraOffset ( _
calType As SPCalendarType, _
era As Integer _
) As Integer
'用途
Dim calType As SPCalendarType
Dim era As Integer
Dim returnValue As Integer
returnValue = SPIntlCal.EraOffset(calType, _
era)
public static int EraOffset(
SPCalendarType calType,
int era
)
參數
calType
Type: Microsoft.SharePoint.SPCalendarTypeSPCalendarType物件,表示行事曆類型。
era
Type: System.Int3232 位元整數,表示紀元。
傳回值
Type: System.Int32
32 位元的整數,表示的位移。