Share via


PublishingWeb.IterateOverAllPages Method

Iterates over all PublishingPage objects in the current PublishingWeb object and processes each PublishingPage by using the given delegate.

Namespace:  Microsoft.SharePoint.Publishing
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)

Syntax

'Declaration
Public Sub IterateOverAllPages ( _
    callToProcessPublishingPage As PublishingWeb.ProcessPublishingPage _
)
'Usage
Dim instance As PublishingWeb
Dim callToProcessPublishingPage As PublishingWeb.ProcessPublishingPage

instance.IterateOverAllPages(callToProcessPublishingPage)
public void IterateOverAllPages(
    PublishingWeb.ProcessPublishingPage callToProcessPublishingPage
)

Parameters

See Also

Reference

PublishingWeb Class

PublishingWeb Members

Microsoft.SharePoint.Publishing Namespace