ResourceAssignmentDataSet.ResourceAssignmentCustomFieldsDataTable.AddResourceAssignmentCustomFieldsRow 方法 (Guid, Guid, Guid, Guid, Int32, Byte, Boolean, String, DateTime, Guid, Int32, Decimal, Byte, Int32)
會將ResourceAssignmentCustomFieldsRow物件加入ResourceAssignmentCustomFieldsDataTable使用個別的參數。
命名空間: WebSvcResource
組件: ProjectServerServices (在 ProjectServerServices.dll 中)
語法
'宣告
Public Function AddResourceAssignmentCustomFieldsRow ( _
CUSTOM_FIELD_UID As Guid, _
PROJ_UID As Guid, _
ASSN_UID As Guid, _
MD_PROP_UID As Guid, _
MD_PROP_ID As Integer, _
FIELD_TYPE_ENUM As Byte, _
FLAG_VALUE As Boolean, _
TEXT_VALUE As String, _
DATE_VALUE As DateTime, _
CODE_VALUE As Guid, _
DUR_VALUE As Integer, _
NUM_VALUE As Decimal, _
DUR_FMT As Byte, _
INDICATOR_VALUE As Integer _
) As ResourceAssignmentDataSet.ResourceAssignmentCustomFieldsRow
'用途
Dim instance As ResourceAssignmentDataSet.ResourceAssignmentCustomFieldsDataTable
Dim CUSTOM_FIELD_UID As Guid
Dim PROJ_UID As Guid
Dim ASSN_UID As Guid
Dim MD_PROP_UID As Guid
Dim MD_PROP_ID As Integer
Dim FIELD_TYPE_ENUM As Byte
Dim FLAG_VALUE As Boolean
Dim TEXT_VALUE As String
Dim DATE_VALUE As DateTime
Dim CODE_VALUE As Guid
Dim DUR_VALUE As Integer
Dim NUM_VALUE As Decimal
Dim DUR_FMT As Byte
Dim INDICATOR_VALUE As Integer
Dim returnValue As ResourceAssignmentDataSet.ResourceAssignmentCustomFieldsRow
returnValue = instance.AddResourceAssignmentCustomFieldsRow(CUSTOM_FIELD_UID, _
PROJ_UID, ASSN_UID, MD_PROP_UID, _
MD_PROP_ID, FIELD_TYPE_ENUM, FLAG_VALUE, _
TEXT_VALUE, DATE_VALUE, CODE_VALUE, _
DUR_VALUE, NUM_VALUE, DUR_FMT, INDICATOR_VALUE)
public ResourceAssignmentDataSet.ResourceAssignmentCustomFieldsRow AddResourceAssignmentCustomFieldsRow(
Guid CUSTOM_FIELD_UID,
Guid PROJ_UID,
Guid ASSN_UID,
Guid MD_PROP_UID,
int MD_PROP_ID,
byte FIELD_TYPE_ENUM,
bool FLAG_VALUE,
string TEXT_VALUE,
DateTime DATE_VALUE,
Guid CODE_VALUE,
int DUR_VALUE,
decimal NUM_VALUE,
byte DUR_FMT,
int INDICATOR_VALUE
)
參數
CUSTOM_FIELD_UID
類型:System.Guid包含自訂欄位的 GUID。
PROJ_UID
類型:System.Guid包含專案的 GUID。
ASSN_UID
類型:System.Guid包含工作分派的 GUID。
MD_PROP_UID
類型:System.Guid包含自訂欄位的 GUID。
MD_PROP_ID
類型:System.Int32包含自訂欄位的識別碼。
FIELD_TYPE_ENUM
類型:System.Byte包含欄位類型列舉。
FLAG_VALUE
類型:System.Boolean包含旗標值。
TEXT_VALUE
類型:System.String包含文字的值。
DATE_VALUE
類型:System.DateTime包含的日期值。
CODE_VALUE
類型:System.Guid包含程式碼的值。
DUR_VALUE
類型:System.Int32包含持續時間
- NUM_VALUE
類型:System.Decimal
DUR_FMT
類型:System.Byte包含的顯示格式。
INDICATOR_VALUE
類型:System.Int32會指定自訂欄位值,如果field_type_enum屬性設為輸入indicator.
傳回值
類型:WebSvcResource.ResourceAssignmentDataSet.ResourceAssignmentCustomFieldsRow
備註
一般而言,開發人員應該使用AddResourceAssignmentCustomFieldsRow。
請參閱
參照
ResourceAssignmentDataSet.ResourceAssignmentCustomFieldsDataTable 類別
ResourceAssignmentDataSet.ResourceAssignmentCustomFieldsDataTable 成員