次の方法で共有


DesignerDataRelationship コンストラクター

定義

名前、親列、および子のリレーションシップを指定して、DesignerDataRelationship クラスの新しいインスタンスを初期化します。

public:
 DesignerDataRelationship(System::String ^ name, System::Collections::ICollection ^ parentColumns, System::ComponentModel::Design::Data::DesignerDataTable ^ childTable, System::Collections::ICollection ^ childColumns);
public DesignerDataRelationship (string name, System.Collections.ICollection parentColumns, System.ComponentModel.Design.Data.DesignerDataTable childTable, System.Collections.ICollection childColumns);
new System.ComponentModel.Design.Data.DesignerDataRelationship : string * System.Collections.ICollection * System.ComponentModel.Design.Data.DesignerDataTable * System.Collections.ICollection -> System.ComponentModel.Design.Data.DesignerDataRelationship
Public Sub New (name As String, parentColumns As ICollection, childTable As DesignerDataTable, childColumns As ICollection)

パラメーター

name
String

リレーションシップの名前。

parentColumns
ICollection

リレーションシップを定義している親テーブルの列。

childTable
DesignerDataTable

リレーションシップの子テーブル。

childColumns
ICollection

リレーションシップを定義している子テーブルの列。

適用対象