Skip to main content
A newer version of this page is available. .

DataViewExtensionBase.BindToSiteMap(String, Boolean) Method

Binds the DataView to a sitemap file specified by its name, and specifies whether the starting node should be displayed.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v19.2.dll

Declaration

public DataViewExtensionBase BindToSiteMap(
    string fileName,
    bool showStartingNode
)

Parameters

Name Type Description
fileName String

A string specifying the file name.

showStartingNode Boolean

true if the starting node should be displayed; otherwise, false.

Returns

Type Description
DataViewExtensionBase

An extension object.

See Also