WebPartCollection Members
.NET Framework 2.0
Contains a collection of WebPart controls used to track and manage related groups of controls. This class cannot be inherited.
The following tables list the members exposed by the WebPartCollection type.
| Name | Description | |
|---|---|---|
| WebPartCollection | Overloaded. Initializes a new instance of the WebPartCollection class. |
(see also
Protected Properties
)
Top
| Name | Description | |
|---|---|---|
| Count | Gets the number of elements contained in the ReadOnlyCollectionBase instance.(Inherited from ReadOnlyCollectionBase.) |
| Item | Overloaded. Returns a specific member of the collection according to its position or a unique identifier. |
| Name | Description | |
|---|---|---|
| InnerList | Gets the list of elements contained in the ReadOnlyCollectionBase instance.(Inherited from ReadOnlyCollectionBase.) |
(see also
Protected Methods
)
Top
| Name | Description | |
|---|---|---|
| Contains | Returns a value indicating whether a particular control exists in the collection. |
| CopyTo | Copies the collection to an array of WebPart objects. |
| Equals | Overloaded. Determines whether two Object instances are equal. (Inherited from Object.) |
| GetEnumerator | Returns an enumerator that iterates through the ReadOnlyCollectionBase instance. (Inherited from ReadOnlyCollectionBase.) |
| GetHashCode | Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) |
| GetType | Gets the Type of the current instance. (Inherited from Object.) |
| IndexOf | Returns the position of a particular member of the collection. |
| ReferenceEquals | Determines whether the specified Object instances are the same instance. (Inherited from Object.) |
| ToString | Returns a String that represents the current Object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
Reference
WebPartCollection ClassSystem.Web.UI.WebControls.WebParts Namespace
WebPart Class
Other Resources
ASP.NET Web Parts PagesCommunity Additions
ADD
Show: