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

子資料表中定義關係的欄位。

適用於