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

子表中定义关系的列。

适用于