AssnHistoryDataSet.CustomFieldsDataTable.AddCustomFieldsRow Method (Guid, String, Byte)
Adds a CustomFieldsRow object to the CustomFieldsDataTable by using separate parameters.
Namespace: [Statusing Web service]
Service reference: http://ServerName:32843/[Project Service Application GUID]/PSI/Statusing.svc
Web service reference: http://ServerName/ProjectServerName/_vti_bin/PSI/Statusing.asmx?wsdl
Syntax
'Declaration
Public Function AddCustomFieldsRow ( _
MD_PROP_UID As Guid, _
MD_PROP_NAME As String, _
MD_PROP_TYPE_ENUM As Byte _
) As AssnHistoryDataSet.CustomFieldsRow
'Usage
Dim instance As AssnHistoryDataSet.CustomFieldsDataTable
Dim MD_PROP_UID As Guid
Dim MD_PROP_NAME As String
Dim MD_PROP_TYPE_ENUM As Byte
Dim returnValue As AssnHistoryDataSet.CustomFieldsRow
returnValue = instance.AddCustomFieldsRow(MD_PROP_UID, _
MD_PROP_NAME, MD_PROP_TYPE_ENUM)
public AssnHistoryDataSet.CustomFieldsRow AddCustomFieldsRow(
Guid MD_PROP_UID,
string MD_PROP_NAME,
byte MD_PROP_TYPE_ENUM
)
Parameters
- MD_PROP_UID
Type: System.Guid
Contains the custom field GUID.
- MD_PROP_NAME
Type: System.String
Contains the custom field name.
- MD_PROP_TYPE_ENUM
Type: System.Byte
Contains the type of the custom field.
Return Value
Type: [Statusing Web service].AssnHistoryDataSet.CustomFieldsRow
Remarks
[MD_PROP_TYPE_ENUM] can be one of the following custom field types: COST, DATE, DURATION, FLAG, NUMBER, or TEXT. Only a custom field of type TEXT can have a hierarchical lookup table. A custom field of type FLAG cannot use a lookup table. Set [MD_PROP_TYPE_ENUM] with the Microsoft.Office.Project.Server.Library.CustomField.Type enumeration.
See Also
Reference
AssnHistoryDataSet.CustomFieldsDataTable Class