Share via


BaseAreaWebPart.AnchorAreaId Property

NOTE: This API is now obsolete.

Obsolete. Gets or sets the identifier of the anchor 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 AnchorAreaId As String
    Get
    Set
'Usage
Dim instance As BaseAreaWebPart
Dim value As String

value = instance.AnchorAreaId

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

Property Value

Type: System.String
String. The identifier of the anchor area.

Remarks

The GetSubAreasFromAnchor method uses the AnchorAreaId property.

See Also

Reference

BaseAreaWebPart Class

BaseAreaWebPart Members

Microsoft.SharePoint.Portal.WebControls Namespace