Click to Rate and Give Feedback
Community Content
In this section
Statistics Annotations (0)
Collapse All/Expand All Collapse All
This page is specific to
The 2007 product release

Other versions are also available for the following:
PublishingWebCollection Class (Microsoft.SharePoint.Publishing)
Represents a collection of PublishingWeb objects.

Namespace: Microsoft.SharePoint.Publishing
Assembly: Microsoft.SharePoint.Publishing (in microsoft.sharepoint.publishing.dll)
Visual Basic (Declaration)
<DefaultMemberAttribute("Item")> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel:=True)> _
Public NotInheritable Class PublishingWebCollection
    Inherits CollectionBase
Visual Basic (Usage)
Dim instance As PublishingWebCollection
C#
[DefaultMemberAttribute("Item")] 
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel=true)] 
public sealed class PublishingWebCollection : CollectionBase

This collection provides integer and string indexer methods, foreach enumeration support (For Each in Microsoft Visual Basic), and a Count property that can be used when explicitly iterating the collection.

This collection also supports creating new PublishingWeb instances using the

Add method.

The PublishingWebCollection object wraps a Windows SharePoint Services SPWebCollection object.

System.Object
   Microsoft.SharePoint.Publishing.CollectionBase
    Microsoft.SharePoint.Publishing.PublishingWebCollection
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement | Site Feedback
Page view tracker