DesignerDataTable.CreateRelationships 方法

定义

在派生类中重写后,返回关系对象的集合。

protected:
 abstract System::Collections::ICollection ^ CreateRelationships();
protected abstract System.Collections.ICollection CreateRelationships ();
abstract member CreateRelationships : unit -> System.Collections.ICollection
Protected MustOverride Function CreateRelationships () As ICollection

返回

DesignerDataRelationship 对象的集合。

注解

CreateRelationships首次访问 属性时Relationships调用 方法,以填充数据表关系的集合。

适用于