Version

DataRelationCollection Class Members

The following tables list the members exposed by DataRelationCollection.

Public Constructors
 NameDescription
Public ConstructorDataRelationCollection ConstructorOverloaded.   
Protected Fields
Public Properties
 NameDescription
Public PropertyCapacityGets or sets the number of elements that the System.Collections.CollectionBase can contain. (Inherited from System.Collections.CollectionBase)
Public PropertyCountGets the number of elements contained in the System.Collections.CollectionBase instance. This property cannot be overridden. (Inherited from System.Collections.CollectionBase)
Public PropertyIsReadOnlyReturns true if the collection is read-only (Inherited from Infragistics.Web.UI.Framework.ObjectCollection)
Public PropertyItem  
Protected Properties
 NameDescription
Protected PropertyHasViewStateJournal (Inherited from Infragistics.Web.UI.Framework.ObjectCollection)
Protected PropertyInnerListGets an System.Collections.ArrayList containing the list of elements in the System.Collections.CollectionBase instance. (Inherited from System.Collections.CollectionBase)
Protected PropertyListGets an System.Collections.IList containing the list of elements in the System.Collections.CollectionBase instance. (Inherited from System.Collections.CollectionBase)
Protected PropertyViewStateJournalThe parent owner to which this object belongs. (Inherited from Infragistics.Web.UI.Framework.ObjectCollection)
Public Methods
 NameDescription
Public MethodAdd  
Public MethodClearOverloaded. Clears the ObjectCollection of its contents and removes any associated Controls from the control tree. (Inherited from Infragistics.Web.UI.Framework.ObjectCollection)
Public MethodContainsReturns true if the collection contains this item (Inherited from Infragistics.Web.UI.Framework.ObjectCollection)
Public MethodCreateCollectionObject  
Public MethodFindFinds a DataRelation inside the collection based on a parent and child DataView id.  
Public MethodFindByChildDataViewIDFinds a DataRelation inside the collection based on a id parameter.  
Public MethodFindByParentDataViewIDFinds all child DataRelation objects inside the collection based on a id parameter.  
Public MethodGetEnumeratorReturns an enumerator that iterates through the System.Collections.CollectionBase instance. (Inherited from System.Collections.CollectionBase)
Public MethodIndexOfReturns the index of the object in the collection (Inherited from Infragistics.Web.UI.Framework.ObjectCollection)
Public MethodRemoveRemoves the specified collectionObject if found in the collection. (Inherited from Infragistics.Web.UI.Framework.ObjectCollection)
Public MethodRemoveAt (Inherited from Infragistics.Web.UI.Framework.ObjectCollection)
Public MethodSetDirtyMarks the ViewState of every object in the collection as Dirty so that it gets stored for round tripping to the client and back. (Inherited from Infragistics.Web.UI.Framework.ObjectCollection)
Protected Methods
 NameDescription
Protected MethodCreateViewStateJournal (Inherited from Infragistics.Web.UI.Framework.ObjectCollection)
Protected MethodDataRelationAdd  
Protected MethodInternalAddAppends the object to the collection (Inherited from Infragistics.Web.UI.Framework.ObjectCollection)
Protected MethodInternalClearOverloaded. Clears the internal collection data structure (Inherited from Infragistics.Web.UI.Framework.ObjectCollection)
Protected MethodInternalMoveMoves an item from one index to another within the collection (Inherited from Infragistics.Web.UI.Framework.ObjectCollection)
Protected MethodInternalRemoveOverloaded. Removes an item from the collection (Inherited from Infragistics.Web.UI.Framework.ObjectCollection)
Protected MethodLoadViewState (Inherited from Infragistics.Web.UI.Framework.ObjectCollection)
Protected MethodLoadViewStateItems (Inherited from Infragistics.Web.UI.Framework.ObjectCollection)
Protected MethodOnClearClears associated Templates when the collection is cleared. (Inherited from Infragistics.Web.UI.Framework.ObjectCollection)
Protected MethodOnClearCompletePerforms additional custom processes after clearing the contents of the System.Collections.CollectionBase instance. (Inherited from System.Collections.CollectionBase)
Protected MethodOnInsertPerforms additional custom processes before inserting a new element into the System.Collections.CollectionBase instance. (Inherited from System.Collections.CollectionBase)
Protected MethodOnInsertCompletePerforms additional custom processes after inserting a new element into the System.Collections.CollectionBase instance. (Inherited from System.Collections.CollectionBase)
Protected MethodOnRemoveClears associated Template when an object is removed from the collection. (Inherited from Infragistics.Web.UI.Framework.ObjectCollection)
Protected MethodOnRemoveCompletePerforms additional custom processes after removing an element from the System.Collections.CollectionBase instance. (Inherited from System.Collections.CollectionBase)
Protected MethodOnSetPerforms additional custom processes before setting a value in the System.Collections.CollectionBase instance. (Inherited from System.Collections.CollectionBase)
Protected MethodOnSetCompletePerforms additional custom processes after setting a value in the System.Collections.CollectionBase instance. (Inherited from System.Collections.CollectionBase)
Protected MethodOnValidateValidates that the value is not null. (Inherited from Infragistics.Web.UI.Framework.ObjectCollection)
Protected MethodSaveViewState (Inherited from Infragistics.Web.UI.Framework.ObjectCollection)
Protected MethodSaveViewStateItems (Inherited from Infragistics.Web.UI.Framework.ObjectCollection)
See Also