ASP.NET Pack Programmer's Guide
ResourceCollection(T) Members
Constructors Properties Methods Events
 


Represents a strongly-typed collection of Resource objects.

The following tables list the members exposed by the ResourceCollection(T) type.

 Public Constructors

  Name Description

ResourceCollection

Overloaded. Initializes a new instance of the ResourceCollection class.

 Public Properties

  Name Description

Count

Gets the count of items in the collection. (Inherited from StateCollection.)

IsReadOnly

Gets a value that indicates if the collection is read only. (Inherited from StateCollection.)

IsTrackingViewState

Gets a value that indicates whether the collection is saving changes to its view state. (Inherited from StateCollection.)

Item

Returns the item at the specified index. This is the indexer of the collection. (Inherited from StateCollection.)

Item

Gets the Resource identified by the specified string.

 Public Methods

  Name Description

Add

Adds a new item to the collection. (Inherited from StateCollection.)

Clear

Removes all items from the collection. (Inherited from StateCollection.)

Contains

Checks if the specified item is contained within the collection. (Inherited from StateCollection.)

CopyTo

Copies the elements of the collection to an array, starting from the particular Array index. (Inherited from StateCollection.)

GetEnumerator

Returns an enumerator that iterates through the collection. (Inherited from StateCollection.)

IndexOf

Returns the index of the first occurrence of the specified item in the collection. (Inherited from StateCollection.)

Insert

Inserts the specified item into the array at the specified index. (Inherited from StateCollection.)

LoadViewState

Restores view-state information from an object that was saved by the SaveViewState method (Inherited from StateCollection.)

OnChanged

Raises the Changed event. (Inherited from StateCollection.)

Remove

Removes the specified item from the collection. (Inherited from StateCollection.)

RemoveAt

Removes the item at the specified index. (Inherited from StateCollection.)

SaveViewState

Saves any view-state changes that have occurred for this collection. (Inherited from StateCollection.)

TrackViewState

Causes tracking of view-state changes made to the collection so they can be stored in an object. (Inherited from StateCollection.)

 Protected Methods

  Name Description

LoadItemViewState

Restores view-state information from an object that was saved by the SaveItemViewState method.

OnAdd

Raises the Add event. (Inherited from StateCollection.)

OnAddComplete

Raises the AddComplete event. (Inherited from StateCollection.)

OnClear

Raises the Clear event. (Inherited from StateCollection.)

OnClearComplete

Raises the ClearComplete event. (Inherited from StateCollection.)

OnCollectionChanged

Raises the CollectionChanged event. (Inherited from StateCollection.)

OnInsert

Raises the Insert event. (Inherited from StateCollection.)

OnInsertComplete

Raises the InsertComplete event. (Inherited from StateCollection.)

OnRemove

Raises the Remove event. (Inherited from StateCollection.)

OnRemoveComplete

Raises the RemoveComplete event. (Inherited from StateCollection.)

OnSet

Raises the Set event. (Inherited from StateCollection.)

OnSetComplete

Raises the SetComplete event. (Inherited from StateCollection.)

SaveItemViewState

Saves the ViewState of the specified item.

TrackItemViewState

Causes tracking of view-state changes made to the specified item. (Inherited from StateCollection.)

 Public Events

  Name Description

AddComplete

Declares the AddComplete event. (Inherited from StateCollection.)

AddEvent

Declares the Add event. (Inherited from StateCollection.)

Changed

Declares the Changed event. (Inherited from StateCollection.)

ClearComplete

Declares the ClearComplete event. (Inherited from StateCollection.)

ClearEvent

Declares the Clear event. (Inherited from StateCollection.)

CollectionChanged

Declares the CollectionChanged event. (Inherited from StateCollection.)

InsertComplete

Declares the InsertComplete event. (Inherited from StateCollection.)

InsertEvent

Declares the Insert event. (Inherited from StateCollection.)

RemoveComplete

Declares the RemoveComplete event. (Inherited from StateCollection.)

RemoveEvent

Declares the Remove event. (Inherited from StateCollection.)

SetComplete

Declares the SetComplete event. (Inherited from StateCollection.)

SetEvent

Declares the Set event. (Inherited from StateCollection.)

 See Also

ResourceCollection(T) Class
MindFusion.Scheduling Namespace