AssnHistoryDataSet.CustomFieldsDataTable.AddCustomFieldsRow 方法 (Guid, String, Byte)
通过使用不同的参数向CustomFieldsDataTable的CustomFieldsRow对象。
命名空间: WebSvcStatusing
程序集: ProjectServerServices(位于 ProjectServerServices.dll 中)
语法
声明
Public Function AddCustomFieldsRow ( _
MD_PROP_UID As Guid, _
MD_PROP_NAME As String, _
MD_PROP_TYPE_ENUM As Byte _
) As AssnHistoryDataSet.CustomFieldsRow
用法
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
)
参数
MD_PROP_UID
类型:System.Guid包含自定义字段的 GUID。
MD_PROP_NAME
类型:System.String包含自定义字段名称。
MD_PROP_TYPE_ENUM
类型:System.Byte包含自定义字段的类型。
返回值
类型:WebSvcStatusing.AssnHistoryDataSet.CustomFieldsRow
备注
**[MD_PROP_TYPE_ENUM]可以是以下自定义字段类型之一: 成本、 日期、 工期、 标志、 数字或文本。仅文本类型的自定义字段可以具有一个分层的查阅表格。标记类型的自定义字段不能使用查找表。设置[MD_PROP_TYPE_ENUM]**与Microsoft.Office.Project.Server.Library.CustomField.Type枚举。
另请参阅
引用
AssnHistoryDataSet.CustomFieldsDataTable 类