DocumentTableRelationCollection class

DocumentTableRelationCollection class

Represents the collection of DocumentTableRelation objects of a single DocumentTableSet instance.

The DocumentTableRelationCollection type exposes the following members:

Properties

Property Description
count Gets the total number of DocumentTableRelation objects in the collection.

Gets a DocumentTableRelation instance from the collection at the specified index.

Indexer

Name Description
[index] The zero-based index of the relation to return.

Methods

Method Description
add Creates a DocumentTableRelation object for the specified parent and child columns, and adds it
to the collection.
remove Removes the specified relation from the collection.
remove_at Removes the relation at the specified index from the collection.
clear Clears the collection of any relations.
contains Returns a value indicating whether this collection contains the specified relation.
index_of Returns the index of the specified relation within this collection.

See Also