SiteMapNodeItem.IDataItemContainer.DataItem Property


This API supports the product infrastructure and is not intended to be used directly from your code.

Gets an object that is used in simplified data-binding operations.

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

object IDataItemContainer.DataItem { get; }

Property Value

Type: System.Object

An object that represents the value to use when data-binding operations are performed.

Typically, you should use the SiteMapNode property to access the data item represented by a SiteMapNodeItem object.

The IDataItemContainer.DataItem member is an explicit interface member implementation. It can be used only when the SiteMapNodeItem instance is cast to an IDataItemContainer interface.

.NET Framework
Available since 2.0
Return to top