TimesheetDataSet.CustomFieldsDataTable.AddCustomFieldsRow Method (TimesheetDataSet.CustomFieldsRow)
Adds a CustomFieldsRow object to the CustomFieldsDataTable.
Namespace: [TimeSheet Web service]
Service reference: http://ServerName:32843/[Project Service Application GUID]/PSI/TimeSheet.svc
Web service reference: http://ServerName/ProjectServerName/_vti_bin/PSI/TimeSheet.asmx?wsdl
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
- row
Type: [TimeSheet Web service].TimesheetDataSet.CustomFieldsRow
The custom fields row to add.
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