Editar

Partilhar via


SiteMapNodeItem.IDataItemContainer.DataItem Property

Definition

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

property System::Object ^ System::Web::UI::IDataItemContainer::DataItem { System::Object ^ get(); };
object System.Web.UI.IDataItemContainer.DataItem { get; }
member this.System.Web.UI.IDataItemContainer.DataItem : obj
 ReadOnly Property DataItem As Object Implements IDataItemContainer.DataItem

Property Value

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

Implements

Remarks

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.

Applies to

See also