System.Web.UI.IDataItemContainer.DataItem Property

SiteMapNodeItem.System.Web.UI.IDataItemContainer.DataItem Property

This property supports the .NET Framework infrastructure and is not intended to be used directly from your code.

For a description of this member, see IDataItemContainer.DataItem.

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

Object IDataItemContainer.DataItem { get; }
Not applicable.

Property Value

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 System.Web.UI.IDataItemContainer.DataItem member is an explicit interface member implementation. It can be used only when the SiteMapNodeItem instance is cast to an IDataItemContainer interface.

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

© 2016 Microsoft