Click or drag to resize

QueryFieldCollection Methods

The QueryFieldCollection type exposes the following members.

Methods
 NameDescription
Public methodAddAdds an object to the end of the CollectionT.
(Inherited from CollectionQueryField)
Public methodAddNewAdds a new item to the collection.
(Inherited from BindingListQueryField)
Protected methodAddNewCoreAdds a new item to the end of the collection.
(Inherited from BindingListQueryField)
Protected methodApplySortCoreSorts the items if overridden in a derived class; otherwise, throws a NotSupportedException.
(Inherited from BindingListQueryField)
Public methodCancelNewDiscards a pending new item.
(Inherited from BindingListQueryField)
Public methodClearRemoves all elements from the CollectionT.
(Inherited from CollectionQueryField)
Protected methodClearItemsRemoves all elements from the collection.
(Inherited from BindingListQueryField)
Public methodContainsDetermines whether an element is in the CollectionT.
(Inherited from CollectionQueryField)
Public methodCopyToCopies the entire CollectionT to a compatible one-dimensional Array, starting at the specified index of the target array.
(Inherited from CollectionQueryField)
Public methodEndNewCommits a pending new item to the collection.
(Inherited from BindingListQueryField)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Protected methodFindCoreSearches for the index of the item that has the specified property descriptor with the specified value, if searching is implemented in a derived class; otherwise, a NotSupportedException.
(Inherited from BindingListQueryField)
Public methodGetEnumeratorReturns an enumerator that iterates through the CollectionT.
(Inherited from CollectionQueryField)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodIndexOfSearches for the specified object and returns the zero-based index of the first occurrence within the entire CollectionT.
(Inherited from CollectionQueryField)
Public methodInsertInserts an element into the CollectionT at the specified index.
(Inherited from CollectionQueryField)
Protected methodInsertItemInserts the specified item in the list at the specified index.
(Inherited from BindingListQueryField)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Protected methodOnAddingNewRaises the AddingNew event.
(Inherited from BindingListQueryField)
Protected methodOnListChanged Overridden to perform validation at list level.
(Overrides BindingListTOnListChanged(ListChangedEventArgs))
Public methodRemoveRemoves the first occurrence of a specific object from the CollectionT.
(Inherited from CollectionQueryField)
Public methodRemoveAtRemoves the element at the specified index of the CollectionT.
(Inherited from CollectionQueryField)
Protected methodRemoveItemRemoves the item at the specified index.
(Inherited from BindingListQueryField)
Protected methodRemoveSortCoreRemoves any sort applied with ApplySortCore(PropertyDescriptor, ListSortDirection) if sorting is implemented in a derived class; otherwise, raises NotSupportedException.
(Inherited from BindingListQueryField)
Public methodResetBindingsRaises a ListChanged event of type Reset.
(Inherited from BindingListQueryField)
Public methodResetItemRaises a ListChanged event of type ItemChanged for the item at the specified position.
(Inherited from BindingListQueryField)
Protected methodSetItemReplaces the item at the specified index with the specified item.
(Inherited from BindingListQueryField)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
See Also