DesignerDataTable.CreateRelationships Method

Definition

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

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

Returns

A collection of DesignerDataRelationship objects.

Remarks

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

Applies to