Partager via


WebCollection Class

Represents a collection of Web objects.

Inheritance Hierarchy

System.Object
  Microsoft.SharePoint.Client.ClientObject
    Microsoft.SharePoint.Client.ClientObjectCollection
      Microsoft.SharePoint.Client.ClientObjectCollection<Web>
        Microsoft.SharePoint.Client.WebCollection

Namespace:  Microsoft.SharePoint.Client
Assemblies:   Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
<ScriptTypeAttribute("SP.WebCollection", ServerTypeId := "{c197d59e-d070-43bf-ad5e-10d6152e38a6}")> _
Public Class WebCollection _
    Inherits ClientObjectCollection(Of Web)
'Usage
Dim instance As WebCollection
[ScriptTypeAttribute("SP.WebCollection", ServerTypeId = "{c197d59e-d070-43bf-ad5e-10d6152e38a6}")]
public class WebCollection : ClientObjectCollection<Web>

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

WebCollection Members

Microsoft.SharePoint.Client Namespace