共用方式為


ResourceDataSet.CalendarExceptionsDataTable.AddCalendarExceptionsRow 方法

CalendarExceptionsRow會將物件新增至CalendarExceptionsDataTable。

命名空間:  WebSvcResource
組件:  ProjectServerServices (在 ProjectServerServices.dll 中)

語法

'宣告
Public Sub AddCalendarExceptionsRow ( _
    row As ResourceDataSet.CalendarExceptionsRow _
)
'用途
Dim instance As ResourceDataSet.CalendarExceptionsDataTable
Dim row As ResourceDataSet.CalendarExceptionsRow

instance.AddCalendarExceptionsRow(row)
public void AddCalendarExceptionsRow(
    ResourceDataSet.CalendarExceptionsRow row
)

參數

備註

AddCalendarExceptionsRow方法簽章被超載,如下所示:

  • 協力廠商開發人員應該使用單一ResourceDataSet.CalendarExceptionsRow參數的多載。例如, AddCalendarExceptionsRow(ResourceDataSet.CalendarExceptionsRow row)。

  • 在 Microsoft Visual Studio 的 [物件總管] 顯示另一個多載,它會使用個別的參數CalendarExceptionsRow中的所有欄位。多載是在內部使用。

    public CalendarExceptionsRow AddCalendarExceptionsRow(
        ResourcesRow parentResourcesRowByResourcesCalendarExceptions, 
        string Name, 
        System.DateTime Start, 
        System.DateTime Finish, 
        int Shift1Start, 
        int Shift1Finish, 
        int Shift2Start, 
        int Shift2Finish, 
        int Shift3Start, 
        int Shift3Finish, 
        int Shift4Start, 
        int Shift4Finish, 
        int Shift5Start, 
        int Shift5Finish, 
        int RecurrenceType, 
        int RecurrenceFrequency, 
        int RecurrenceDays, 
        int RecurrenceMonthDay, 
        int RecurrenceMonth, 
        int RecurrencePosition) 
    

請參閱

參照

ResourceDataSet.CalendarExceptionsDataTable 類別

ResourceDataSet.CalendarExceptionsDataTable 成員

WebSvcResource 命名空間