Share via


PublishingMenu.DataSourceId property

Gets or sets the data source used to populate this control, including appropriate actions.

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

Syntax

'Declaration
Public Property DataSourceId As String
    Get
    Set
'Usage
Dim instance As PublishingMenu
Dim value As String

value = instance.DataSourceId

instance.DataSourceId = value
public string DataSourceId { get; set; }

Property value

Type: System.String
A string that represents the data source used to generate the menus that are rendered on the page.

See also

Reference

PublishingMenu class

PublishingMenu members

Microsoft.SharePoint.Publishing.WebControls namespace

PublishingMenu