Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The Add method of the SPWebPartCollection class adds the specified Web Part to the collection.
Parameters
webPart A Web Part object that represents the new Web Part.
Return Value
A GUID that identifies the Web Part.
Requirements
Platforms: Microsoft Windows Server 2003
Security: Code Access Security