How do I access a Repository Folder directly? I am doing a lot of repetition of repo.FolderName.Item and I would like to put something like Folder currentFolder = repo.FolderName and then
use currentFolder instead of repo.FolderName in the rest of the code.
Access a repository folder
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Access a repository folder
Hi,
if you for example add a folder called MyFolder to your repository you can use following code to get this folder:
Tobias
Support Team
if you for example add a folder called MyFolder to your repository you can use following code to get this folder:
RepoFolderRepositoryFolders.MyFolderFolder folder = repo.YourApplicationFolder.myFolder;Kind regards,
Tobias
Support Team