共用方式為


ResourcePlanDataSet.PlanResourcesDataTable.AddPlanResourcesRow 方法

PlanResourcesRow會將物件新增至PlanResourcesDataTable。

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

語法

'宣告
Public Sub AddPlanResourcesRow ( _
    row As ResourcePlanDataSet.PlanResourcesRow _
)
'用途
Dim instance As ResourcePlanDataSet.PlanResourcesDataTable
Dim row As ResourcePlanDataSet.PlanResourcesRow

instance.AddPlanResourcesRow(row)
public void AddPlanResourcesRow(
    ResourcePlanDataSet.PlanResourcesRow row
)

參數

備註

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

  • 協力廠商開發人員應該使用單一ResourcePlanDataSet.PlanResourcesRow參數,例如AddPlanResourcesRow(ResourcePlanDataSet.PlanResourcesRow row)多載。

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

    public PlanResourcesRow AddPlanResourcesRow(
        System.Guid RES_UID, 
        System.Guid PROJ_UID, 
        System.Guid ASSN_UID, 
        string RES_NAME, 
        int RES_TYPE, 
        bool RES_CAN_LEVEL, 
        System.Guid RES_TIMESHEET_MGR_UID, 
        System.Guid RES_DEF_ASSN_OWNER, 
        string RES_INITIALS, 
        string RES_PHONETICS, 
        string RES_MATERIAL_LABEL, 
        string RES_GROUP, 
        string RES_CODE, 
        string RES_COST_CENTER, 
        string RES_HYPERLINK_FRIENDLY_NAME, 
        string RES_HYPERLINK_ADDRESS, 
        string RES_HYPERLINK_SUB_ADDRESS, 
        string WRES_EMAIL, 
        int WRES_EMAIL_LANGUAGE, 
        int RES_ID, 
        byte ASSN_BOOKING_TYPE, 
        System.DateTime RES_HIRE_DATE, 
        System.DateTime RES_TERMINATION_DATE, 
        bool RES_IS_TEAM) 
    

請參閱

參照

ResourcePlanDataSet.PlanResourcesDataTable 類別

ResourcePlanDataSet.PlanResourcesDataTable 成員

WebSvcResourcePlan 命名空間