C# Class GSoft.Dynamite.Repositories.FolderRepository

Class to interact with folders
Inheritance: IFolderRepository
Exibir arquivo Open project: GSoft-SharePoint/Dynamite-2010 Class Usage Examples

Public Methods

Method Description
FolderRepository ( ) : System.Collections.Generic

Constructor for FolderRepository

GetFolderById ( int folderId ) : SPFolder

Method to get a folder by his Id

GetFolderByIdForWeb ( SPWeb web, int folderId ) : SPFolder

Method to get a folder by his Id

Method Details

FolderRepository() public method

Constructor for FolderRepository
public FolderRepository ( ) : System.Collections.Generic
return System.Collections.Generic

GetFolderById() public method

Method to get a folder by his Id
public GetFolderById ( int folderId ) : SPFolder
folderId int the Id of the folder
return SPFolder

GetFolderByIdForWeb() public method

Method to get a folder by his Id
public GetFolderByIdForWeb ( SPWeb web, int folderId ) : SPFolder
web SPWeb Explicitly specify the SPWeb
folderId int the Id of the folder
return SPFolder