Skip to main content
.NET 8.0+

CollectionSource Methods

The Collection Source used for the List Views that display collections of business objects.
Name Description
Add(Object) Adds the specified object to the Collection Source’s CollectionSourceBase.Collection.
BeginUpdateCriteria() Begins update of the Collection Source’s collection criteria. The criteria will not be applied to the collection until the update is complete. Inherited from CollectionSourceBase.
Dispose() Releases all the resources allocated by the current Collection Source. Inherited from CollectionSourceBase.
EndUpdateCriteria() Ends update of the Collection Source’s collection criteria and applies it. Inherited from CollectionSourceBase.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetCount() Returns the number of objects contained in the Collection Source’s CollectionSourceBase.Collection. Inherited from CollectionSourceBase.
GetEnumerable(Boolean) Returns a sequence (IEnumerable or IQueryable) that contains objects from the original collection. Inherited from CollectionSourceBase.
GetEnumerable<T>(Boolean) Returns a strongly-typed sequence (IEnumerable<T> or IQueryable<T>) that contains objects from the original collection. Inherited from CollectionSourceBase.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetTotalCriteria() For internal use.
GetType() Gets the Type of the current instance. Inherited from Object.
IsObjectFitForCollection(Object) Tries to determine whether the specified object satisfies the criteria contained in the CollectionSourceBase.Criteria dictionary.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
Reload() Reloads the current Collection Source’s CollectionSourceBase.Collection. Inherited from CollectionSourceBase.
Remove(Object) Removes the specified object from the Collection Source’s CollectionSourceBase.Collection.
ResetCollection(Boolean) Recreates a Collection Source’s CollectionSourceBase.Collection. Inherited from CollectionSourceBase.
SetAllowAdd(Boolean) Sets the value that specifies whether it is possible to add objects to the Collection Source’s CollectionSourceBase.Collection or not. Inherited from CollectionSourceBase.
SetAllowRemove(Boolean) Sets the value that specifies whether it is possible to remove objects from the Collection Source’s CollectionSourceBase.Collection or not. Inherited from CollectionSourceBase.
SetCriteria(String, String) Adds the specified criteria expression to the CollectionSourceBase.Criteria dictionary. Inherited from CollectionSourceBase.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also