SiteMapNodeItem.IDataItemContainer.DataItem Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for