Share via


BaseAreaWebPart.CurrentAreaId Property

NOTE: This API is now obsolete.

Obsolete. Gets or sets the identifier of the current area.

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 CurrentAreaId As String
    Get
    Set
'Usage
Dim instance As BaseAreaWebPart
Dim value As String

value = instance.CurrentAreaId

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

Property Value

Type: System.String
String. Identifier of the current area.

See Also

Reference

BaseAreaWebPart Class

BaseAreaWebPart Members

Microsoft.SharePoint.Portal.WebControls Namespace