Share via


SPWebPartCollection.Add method

NOTE: This API is now obsolete.

Obsolete. Adds the specified Web Part to the collection.

Overload list

  Name Description
Public method Add(ListViewWebPart) Obsolete. Obsolete. Adds the specified List View Web Part to the collection.
Public method Add(WebPart) Obsolete. Obsolete. Adds the specified Web Part to the collection.
Public method Add(String) Obsolete. Obsolete. Adds a Web Part to the collection based on the specified Web Part definition file.
Public method Add(WebPart, Boolean) Obsolete. Obsolete.

Top

See also

Reference

SPWebPartCollection class

SPWebPartCollection members

Microsoft.SharePoint namespace