MSDN > 論壇首頁 > SharePoint - Development and Programming > document library of sharepoint
發問發問
 

已答覆document library of sharepoint

解答

  • Saturday, 4 July, 2009 8:19Rajesh.Sitaraman 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     已答覆包含代碼
    SPSite mySite = new SPSite("http://YourSiteCollectionURL");
    SPWeb myWeb = mySite.AllWebs["YourSite"];
    
    SPFolderCollection myFolderCollection = myWeb.GetFolder("http://YourSiteCollectionURL/YourSite/YourLib").SubFolders;
    myFolderCollection.Add("FolderName");
    

    ---
    Rajesh (MCTS) My Blog

所有回覆