The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

CollectionSourceBase Methods

An abstract class that serves as the base class for Collection Source classes.

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.

Dispose()

Releases all the resources allocated by the current Collection Source.

EndUpdateCriteria()

Ends update of the Collection Source's collection criteria and applies it.

Equals(Object) Determines whether the specified object is equal to the current object.
(Inherited from Object)
Equals(Object, Object) static Determines whether the specified object instances are considered equal.
(Inherited from Object)
GetCount()

Returns the number of objects contained in the Collection Source's CollectionSourceBase.Collection.

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() 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.

Remove(Object)

Removes the specified object from the Collection Source's CollectionSourceBase.Collection.

ResetCollection(Boolean)

Recreates a Collection Source's CollectionSourceBase.Collection.

SetAllowAdd(Boolean)

Sets the value that specifies whether it is possible to add objects to the Collection Source's CollectionSourceBase.Collection or not.

SetAllowRemove(Boolean)

Sets the value that specifies whether it is possible to remove objects from the Collection Source's CollectionSourceBase.Collection or not.

SetCriteria(String, String)

Adds the specified criteria expression to the CollectionSourceBase.Criteria dictionary.

ToString() Returns a string that represents the current object.
(Inherited from Object)
See Also