Version

ICollectionObject Interface Members

The following tables list the members exposed by ICollectionObject.

Public Properties
 NameDescription
 PropertyIndexreturns an integer Index of the item within its collection  
Public Methods
 NameDescription
 MethodGetObjectTypeCalled during ViewState operations to determine an index value that represents the type of a CollectionObject. Used only in situations where a collection can contain multipe types within it, where all the types still derive from CollectionObject. In the default case where there is only one type in the collection, the base implementation returns 0.  
 MethodOnAddedToCollectionCalled when this object is being added to the passed in collection. ///  
 MethodOnRemovedFromCollectionCalled when this object is being removed from the passed in collection.  
 MethodSetDirtyMarks all properties of the object for saving to ViewState  
See Also