AreaListingCollection Class

The AreaListingCollection class manages the AreaListing objects.

System.Object

   Microsoft.SharePoint.Portal.SiteData.AreaListingCollection

Public Methods

The following table shows the methods of the AreaListingCollection class and a brief description of each.

Name Description
AddListing(String, String, Microsoft.SharePoint.Portal.SiteData.ListingType, String) Adds a listing to the area collection.
GetEnumerator Gets an enumerator for the area listings.
Refresh Refreshes the collection.
RemoveListing(System.Guid) Removes a listing from the collection.
Update(Microsoft.SharePoint.Portal.SiteData.ListingUpdateBehavior) Updates an area listing by the behavior of the listing.
Update Updates an area listing.

Public Properties

The following table shows the properties of the AreaListingCollection class, the data type of each property, and a brief description of each.

Name Data Type Description
Count Int32 Gets and sets the count of area listing objects.
Item(System.Guid) Microsoft.SharePoint.Portal.SiteData.AreaListing Gets the area listing by GUID.
Item(UInt32) Microsoft.SharePoint.Portal.SiteData.AreaListing Gets the area listing by integer.

Thread Safety

Any public static ( in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread safe.

Example

The following code example shows the use of the AreaListingCollection class.

Requirements

Namespace: Microsoft.SharePoint.Portal.SiteData

Platforms: Microsoft Windows Server 2003

Assembly: Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)

Security: Code Access Security