Clone Method

The Clone method of the SPView class creates and returns a duplicate of the view.

Parameters

strNewViewName   A string that contains the view name.

iRowLimit   An unsigned 32-bit integer that specifies the maximum number of items to return in the view.

bPaged  true if the view supports displaying more items page by page; otherwise, false.

bMakeViewDefault  true if the duplicate view is the default view; otherwise, false.

Return Value

A Microsoft.SharePoint.SPView object that represents the duplicate view.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security