Share via


BaseAreaWebPart.Layers Property

NOTE: This API is now obsolete.

Obsolete. Gets or sets the number of layers of data to be returned.

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

Syntax

'Declaration
<WebPartStorageAttribute(Storage.Shared)> _
<ObsoleteAttribute("This control is obsolete.  Please use PortalSiteMapProvider instead")> _
Public Property Layers As Integer
    Get
    Set
'Usage
Dim instance As BaseAreaWebPart
Dim value As Integer

value = instance.Layers

instance.Layers = value
[WebPartStorageAttribute(Storage.Shared)]
[ObsoleteAttribute("This control is obsolete.  Please use PortalSiteMapProvider instead")]
public int Layers { get; set; }

Property Value

Type: System.Int32
Int32. Number of layers of data to be returned.

Remarks

The default value is 2. If the number of layers is not specified, the user will get back two layers of data. Layers does not apply for all the queries issued by the Base Area Web Part.

See Also

Reference

BaseAreaWebPart Class

BaseAreaWebPart Members

Microsoft.SharePoint.Portal.WebControls Namespace