DesignerDataRelationship 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化一個以指定名稱、父欄位及子節點關係的新類別實例 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
子資料表中定義關係的欄位。