IHierarchyData::Item Property

 

Gets the hierarchical data node that the IHierarchyData object represents.

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

property Object^ Item {
	Object^ get();
}

Property Value

Type: System::Object^

An Object hierarchical data node object.

While many classes that represent hierarchical data nodes, such as the SiteMapNode class, implement the IHierarchyData interface directly, other classes only act as a wrapper for a class that does not implement the interface. The Item property is provided for these design situations, when business objects are functionally equivalent to an IHierarchyData object but cannot be redesigned easily.

The following code example demonstrates how to access IHierarchyData properties, check the type of an IHierarchyData object using the Type property, and cast the object to perform more type-specific operations. This code example is part of a larger example provided for the IHierarchyData interface.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show: