AddListing(String, String, Microsoft.SharePoint.Portal.SiteData.ListingType, String, System.Guid) Method

The AddListing method of the AreaListingCollection class adds a listing to the collection.

Parameters

Title The title of the listing.

ListingDescription The description of the listing to be added to the collection.

type The type of Listing.

strUrl The URL of the listing.

Audiences The audiences of the listing.

Return Value

Microsoft.SharePoint.Portal.SiteData.AreaListing The listing that is added to the collection.

Remarks

Modified properties are not updated in the database until you call the Update method.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security