次の方法で共有


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 クラス

AssnHistoryDataSet.CustomFieldsDataTable メンバー

AddCustomFieldsRow オーバーロード

WebSvcStatusing 名前空間