Sitecore 5.0 API

ItemPath.GetSubItem Method 

Gets an item relative to this item.

[Visual Basic]
Public Function GetSubItem( _
   ByVal path As String _
) As Item
[C#]
public Item GetSubItem(
   string path
);

Parameters

path
Path.

Remarks

A path identifies an item. A path can be an ID or a sequence of item names or IDs. If a path starts with a slash (/) it is an absolute path that is resolved from the root element of the database. If not, it is a relative path that is resolved from the current context item.

See Also

ItemPath Class | Sitecore.Data Namespace