Partilhar via


SPWebPartCollection.Add Method

Include Protected Members
Include Inherited Members

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