Share via


TimesheetDataSet.CustomFieldsDataTable.AddCustomFieldsRow method (TimesheetDataSet.CustomFieldsRow)

Adds a CustomFieldsRow object to the CustomFieldsDataTable.

Namespace:  WebSvcTimeSheet
Assembly:  ProjectServerServices (in ProjectServerServices.dll)

Syntax

'Declaration
Public Sub AddCustomFieldsRow ( _
    row As TimesheetDataSet.CustomFieldsRow _
)
'Usage
Dim instance As TimesheetDataSet.CustomFieldsDataTable
Dim row As TimesheetDataSet.CustomFieldsRow

instance.AddCustomFieldsRow(row)
public void AddCustomFieldsRow(
    TimesheetDataSet.CustomFieldsRow row
)

Parameters

Remarks

The AddCustomFieldsRow method signature is overloaded as follows:

  • Third-party developers should use the overload that has a single TimesheetDataSet.CustomFieldsRow parameter, for example, AddCustomFieldsRow(TimesheetDataSet.CustomFieldsRow row).

  • The Object Explorer in Microsoft Visual Studio shows another overload that uses individual parameters for all fields in CustomFieldsRow. The overload is used internally.

    public CustomFieldsRow AddCustomFieldsRow(
        System.Guid CUSTOM_FIELD_UID, 
        System.Guid TS_UID, 
        System.Guid TS_LINE_UID, 
        System.Guid MD_PROP_UID, 
        int MD_PROP_ID, 
        byte FIELD_TYPE_ENUM, 
        bool FLAG_VALUE, 
        string TEXT_VALUE, 
        System.DateTime DATE_VALUE, 
        System.Guid CODE_VALUE, 
        int DUR_VALUE, 
        decimal NUM_VALUE, 
        byte DUR_FMT, 
        int INDICATOR_VALUE) 
    

See also

Reference

TimesheetDataSet.CustomFieldsDataTable class

TimesheetDataSet.CustomFieldsDataTable members

AddCustomFieldsRow overload

WebSvcTimeSheet namespace