Share via


BreadCrumbTrail.CurrentID Property

NOTE: This API is now 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)> _
<ResourcesAttribute("Webpart_Property_CurID_Text", "Webpart__Custome_Property_Text",  _
    "Webpart_Property_CurID_Description")> _
<ObsoleteAttribute("Control is obsolete.  Please use asp:SiteMapPath instead")> _
Public Property CurrentID As String
    Get
    Set
'Usage
Dim instance As BreadCrumbTrail
Dim value As String

value = instance.CurrentID

instance.CurrentID = value
[WebPartStorageAttribute(Storage.Shared)]
[ResourcesAttribute("Webpart_Property_CurID_Text", "Webpart__Custome_Property_Text", 
    "Webpart_Property_CurID_Description")]
[ObsoleteAttribute("Control is obsolete.  Please use asp:SiteMapPath instead")]
public string CurrentID { get; set; }

Property Value

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

See Also

Reference

BreadCrumbTrail Class

BreadCrumbTrail Members

Microsoft.SharePoint.Portal.WebControls Namespace