Share via


BaseAreaWebPart.GetItemsAndAreas Method

NOTE: This API is now obsolete.

Obsolete. Gets a list of all the listings and subareas under the current category/specified category for the number of layers specified.

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

Syntax

'Declaration
<ObsoleteAttribute("This control is obsolete.  Please use PortalSiteMapProvider instead")> _
Protected Function GetItemsAndAreas As BaseAreaWebPart.AreaReturnData
'Usage
Dim returnValue As BaseAreaWebPart.AreaReturnData

returnValue = Me.GetItemsAndAreas()
[ObsoleteAttribute("This control is obsolete.  Please use PortalSiteMapProvider instead")]
protected BaseAreaWebPart.AreaReturnData GetItemsAndAreas()

Return Value

Type: Microsoft.SharePoint.Portal.WebControls.BaseAreaWebPart.AreaReturnData

Remarks

If layers are not specified the GetItemsAndAreas method will return listings and subareas from two layers.

See Also

Reference

BaseAreaWebPart Class

BaseAreaWebPart Members

Microsoft.SharePoint.Portal.WebControls Namespace