Sitecore 5.0 API

Item.MoveTo Method 

Moves the item to another location.

[Visual Basic]
Public Sub MoveTo( _
   ByVal destination As Item _
)
[C#]
public void MoveTo(
   Item destination
);

Parameters

destination
Destination item (ie. the item that will serve as the new parent of the item).

Remarks

Moves an item and all of its descendants to another location in the content tree.

See Also

Item Class | Sitecore.Data.Items Namespace