DesignerDataTable.CreateRelationships Method ()


When overridden in a derived class, returns a collection of relationship objects.

Namespace:   System.ComponentModel.Design.Data
Assembly:  System.Design (in System.Design.dll)

protected abstract ICollection CreateRelationships()

Return Value

Type: System.Collections.ICollection

A collection of DesignerDataRelationship objects.

The CreateRelationships method is called the first time the Relationships property is accessed, to populate the collection of data table relationships.

.NET Framework
Available since 2.0
Return to top