SPWebPartCollection methods
NOTE: This API is now obsolete.
The SPWebPartCollection type exposes the following members.
Methods
Name | Description | |
---|---|---|
Add(ListViewWebPart) | Obsolete. Obsolete. Adds the specified List View Web Part to the collection. | |
Add(WebPart) | Obsolete. Obsolete. Adds the specified Web Part to the collection. | |
Add(String) | Obsolete. Obsolete. Adds a Web Part to the collection based on the specified Web Part definition file. | |
Add(WebPart, Boolean) | Obsolete. Obsolete. | |
CacheInvalidate | Obsolete. Obsolete. Invalidates the cache for a Web Part, including the output and Web Part caches. | |
Clear | Obsolete. Obsolete. | |
Contains | Obsolete. Obsolete. Returns a Boolean value that indicates whether the specified Web Part is contained in the collection. | |
CopyTo | Obsolete. Obsolete. Copies the elements of the collection to an array of Web Part objects, starting at the specified array index. | |
Delete | Obsolete. Obsolete. Deletes the Web Part with the specified GUID from the collection. | |
DeleteAllPersonalizations() | Obsolete. Obsolete. Deletes all personalizations by all users from the collection. | |
DeleteAllPersonalizations(Int32) | Obsolete. Obsolete. Deletes all personalizations by the user with the specified ID from the collection. | |
DeletePersonalizations | Obsolete. Obsolete. Deletes personalizations of the Web Part with the specified GUID. | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetEnumerator | Obsolete. Obsolete. Returns an enumerator to iterate through the collection. | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
IndexOf | Obsolete. Obsolete. Returns the collection index of the specified Web Part. | |
MemberwiseClone | (Inherited from Object.) | |
OnClear | (Inherited from CollectionBase.) | |
OnClearComplete | (Inherited from CollectionBase.) | |
OnInsert | (Inherited from CollectionBase.) | |
OnInsertComplete | (Inherited from CollectionBase.) | |
OnRemove | (Inherited from CollectionBase.) | |
OnRemoveComplete | (Inherited from CollectionBase.) | |
OnSet | (Inherited from CollectionBase.) | |
OnSetComplete | (Inherited from CollectionBase.) | |
OnValidate | (Inherited from CollectionBase.) | |
RemoveAt | Obsolete. Obsolete. | |
SaveChanges | Obsolete. Obsolete. Saves changes made to a single Web Part. | |
ToString | (Inherited from Object.) |
Top
Explicit interface implementations
Name | Description | |
---|---|---|
IList.Add | Obsolete. | |
IList.Clear | Obsolete. | |
IList.Insert | Obsolete. | |
IList.Remove | Obsolete. | |
IList.RemoveAt | Obsolete. | |
IList.Contains | (Inherited from CollectionBase.) | |
ICollection.CopyTo | (Inherited from CollectionBase.) | |
IList.IndexOf | (Inherited from CollectionBase.) |
Top