Folder.ExportFolder (EntityID, Boolean, Boolean, Boolean, Boolean, Boolean, String, Func<EntityIDBoolean>, Func<EntityIDBoolean>, EntityID, IDatabase, IClient) Method

Export a folder
Public Shared Sub ExportFolder( _ 
ByVal folder_id As EntityID, _ 
ByVal recursive As Boolean, _ 
ByVal all_file_versions As Boolean, _ 
ByVal include_deleted_files As Boolean, _ 
ByVal overwrite As Boolean, _ 
ByVal create_parent_folder As Boolean, _ 
ByVal parent_dir As String, _ 
ByVal exclude_file_func As Func(Of EntityID, Boolean), _ 
ByVal exclude_sub_folder_func As Func(Of EntityID, Boolean), _ 
ByVal user_id As EntityID, _ 
ByVal db As IDatabase, _ 
ByVal client As IClient
)
This language is not supported or no code example is available.
public static void ExportFolder( 
EntityID folder_id
bool recursive
bool all_file_versions
bool include_deleted_files
bool overwrite
bool create_parent_folder
string parent_dir
Func<EntityID, bool> exclude_file_func
Func<EntityID, bool> exclude_sub_folder_func
EntityID user_id
IDatabase db
IClient client 
)
This language is not supported or no code example is available.
public:  
static void ExportFolder( 
EntityID^ folder_id
bool recursive
bool all_file_versions
bool include_deleted_files
bool overwrite
bool create_parent_folder
String^ parent_dir
Func<EntityID^, bool>^ exclude_file_func
Func<EntityID^, bool>^ exclude_sub_folder_func
EntityID^ user_id
IDatabase^ db
IClient^ client 
)
This language is not supported or no code example is available.
JScript does not support generic types and methods.
This language is not supported or no code example is available.

Parameters

folder_id
EntityID

the id of the folder to export

recursive
bool

export recursively?

all_file_versions
bool

whether or not to export all file versions

include_deleted_files
bool

whether or not to include all deleted files

overwrite
bool

whether or not to overwrite existing files

create_parent_folder
bool

<default>

parent_dir
string

the path where this folder should be exported to

exclude_file_func
Func<EntityID, bool>

A function to determine if the file needs to be excluded at export

exclude_sub_folder_func
Func<EntityID, bool>

A function to determine if the sub folder needs to be excluded at export

user_id
EntityID

the ido f the user performing this operation

db
IDatabase

the database to use

client
IClient

any client callback for messaging purposes

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1

In this article

Definition