Have you looked at the API Examples in your local install? They can be found under /CMSApiExamples/Code/Documents/Basics/Default.aspx.cs. Below is the code from there:
/// <summary>
/// Creates the initial document structure used for the example. Called when the "Create page structure" button is pressed.
/// </summary>
private bool CreateDocumentStructure()
{
// Add a new culture to the current site
CultureInfo culture = CultureInfoProvider.GetCultureInfo("de-de");
CultureSiteInfoProvider.AddCultureToSite(culture.CultureID, SiteContext.CurrentSiteID);
// Create new instance of the Tree provider
TreeProvider tree = new TreeProvider(MembershipContext.AuthenticatedUser);
// Get parent node
TreeNode parentNode = tree.SelectSingleNode(SiteContext.CurrentSiteName, "/", "en-us");
if (parentNode != null)
{
// Create the API Example folder
TreeNode newNode = TreeNode.New("CMS.Folder", tree);
newNode.DocumentName = "API Example";
newNode.DocumentCulture = "en-us";
newNode.Insert(parentNode);
parentNode = newNode;
// Create the Source folder - the document to be moved will be stored here
newNode = TreeNode.New("CMS.Folder", tree);
newNode.DocumentName = "Source";
newNode.DocumentCulture = "en-us";
newNode.Insert(parentNode);
// Create the Target folder - a document will be moved here
newNode = TreeNode.New("CMS.Folder", tree);
newNode.DocumentName = "Target";
newNode.DocumentCulture = "en-us";
newNode.Insert(parentNode);
return true;
}
return false;
}