TechTalk Genome v4.2

QueryFieldCollection Methods

The methods of the QueryFieldCollection class are listed below. For a complete list of QueryFieldCollection class members, see the QueryFieldCollection Members topic.

Public Instance Methods

Add Appends the specified QueryField object to the end of the collection.
Clear (inherited from StateManagedCollection)Removes all items from the StateManagedCollection collection.
CopyTo (inherited from StateManagedCollection)Copies the elements of the StateManagedCollection collection to an array, starting at a particular array index.
Equals (inherited from Object)Determines whether the specified object is equal to the current object.
GetEnumerator (inherited from StateManagedCollection)Returns an iterator that iterates through the StateManagedCollection collection.
GetHashCode (inherited from Object)Serves as a hash function for a particular type. Object.GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object)Gets the Type of the current instance.
Remove Removes the specified QueryField object from the collection.
RemoveAt Removes the QueryField object from the collection in the specified index .
SetDirty (inherited from StateManagedCollection)Forces the entire StateManagedCollection collection to be serialized into view state.
ToString (inherited from Object)Returns a string that represents the current object.

Protected Instance Methods

CreateKnownType (inherited from StateManagedCollection)When overridden in a derived class, creates an instance of a class that implements IStateManager. The type of object created is based on the specified member of the collection returned by the StateManagedCollection.GetKnownTypes method.
Finalize (inherited from Object)Allows an object to attempt to free resources and perform other cleanup operations before the object is reclaimed by garbage collection.
GetKnownTypes (inherited from StateManagedCollection)When overridden in a derived class, gets an array of IStateManager types that the StateManagedCollection collection can contain.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current object.
OnClear (inherited from StateManagedCollection)When overridden in a derived class, performs additional work before the StateManagedCollection.Clear method removes all items from the collection.
OnClearComplete (inherited from StateManagedCollection)When overridden in a derived class, performs additional work after the StateManagedCollection.Clear method finishes removing all items from the collection.
OnInsert (inherited from StateManagedCollection)When overridden in a derived class, performs additional work before the IList.Insert or IList.Add method adds an item to the collection.
OnInsertComplete Subscribes to the FieldChanged event of the QueryField item after the Add method adds the item to the collection.
OnRemove (inherited from StateManagedCollection)When overridden in a derived class, performs additional work before the IList.Remove or IList.RemoveAt method removes the specified item from the collection.
OnRemoveComplete Unsubscribes from the FieldChanged event of the QueryField item after the Remove or RemoveAt method removes the specified item from the collection.
OnValidate Validates an element of the collection.
SetDirtyObject Instructs an object contained by the collection to record its entire state to view state, rather than recording only change information.

Explicit Interface Implementations

ICollection.get_Count (inherited from StateManagedCollection)
ICollection.get_IsSynchronized (inherited from StateManagedCollection)
ICollection.get_SyncRoot (inherited from StateManagedCollection)
IEnumerable.GetEnumerator (inherited from StateManagedCollection)Returns an iterator that iterates through the StateManagedCollection collection.
IList.Add (inherited from StateManagedCollection)
IList.Clear (inherited from StateManagedCollection)Removes all items from the StateManagedCollection collection.
IList.Contains (inherited from StateManagedCollection)
IList.get_IsFixedSize (inherited from StateManagedCollection)
IList.get_IsReadOnly (inherited from StateManagedCollection)
IList.get_Item (inherited from StateManagedCollection)
IList.IndexOf (inherited from StateManagedCollection)
IList.Insert (inherited from StateManagedCollection)
IList.Remove (inherited from StateManagedCollection)
IList.RemoveAt (inherited from StateManagedCollection)
IList.set_Item (inherited from StateManagedCollection)
IStateManager.get_IsTrackingViewState (inherited from StateManagedCollection)
IStateManager.LoadViewState (inherited from StateManagedCollection)
IStateManager.SaveViewState (inherited from StateManagedCollection)
IStateManager.TrackViewState (inherited from StateManagedCollection)

See Also

QueryFieldCollection Class | TechTalk.Genome.Extensions.Web.UI.Controls Namespace