(Guid, Guid, Guid, Guid, Int32, Byte, Boolean, String, DateTime, Guid, Int32, Decimal, Byte, Int32) del método ResourceAssignmentDataSet.ResourceAssignmentCustomFieldsDataTable.AddResourceAssignmentCustomFieldsRow
Agrega un objeto de ResourceAssignmentCustomFieldsRow a la ResourceAssignmentCustomFieldsDataTable con parámetros independientes.
Espacio de nombres: WebSvcResource
Ensamblado: ProjectServerServices (en ProjectServerServices.dll)
Sintaxis
'Declaración
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
'Uso
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
)
Parámetros
CUSTOM_FIELD_UID
Tipo: System.GuidContiene el GUID del campo personalizado.
PROJ_UID
Tipo: System.GuidContiene el GUID del proyecto.
ASSN_UID
Tipo: System.GuidContiene el GUID del trabajo.
MD_PROP_UID
Tipo: System.GuidContiene el GUID del campo personalizado.
MD_PROP_ID
Tipo: System.Int32Contiene el identificador de campo personalizado.
FIELD_TYPE_ENUM
Tipo: System.ByteContiene el campo tipo enum.
FLAG_VALUE
Tipo: System.BooleanContiene el valor del indicador.
TEXT_VALUE
Tipo: System.StringContiene el valor de texto.
DATE_VALUE
Tipo: System.DateTimeContiene el valor de fecha.
CODE_VALUE
Tipo: System.GuidContiene el valor del código.
DUR_VALUE
Tipo: System.Int32Contiene la duración
- NUM_VALUE
Tipo: System.Decimal
DUR_FMT
Tipo: System.ByteContiene el formato de presentación.
INDICATOR_VALUE
Tipo: System.Int32Especifica el valor del campo personalizado si se establece la propiedad field_type_enumpara escribir indicator.
Valor devuelto
Tipo: WebSvcResource.ResourceAssignmentDataSet.ResourceAssignmentCustomFieldsRow
Comentarios
En general, los desarrolladores deben usar la AddResourceAssignmentCustomFieldsRow.
Vea también
Referencia
clase ResourceAssignmentDataSet.ResourceAssignmentCustomFieldsDataTable
Miembros ResourceAssignmentDataSet.ResourceAssignmentCustomFieldsDataTable