FolderCreationOptions.CreateHierarchy

FolderCreationOptions.CreateHierarchy property

Gets or sets a value indicating whether to create the hierarchy of parent folders.

public bool CreateHierarchy { get; set; }

Property Value

true if the hierarchy of parent folders should be created. In this case, the name of the subfolder to be created is considered as path; false if only the subfolder with specified name should be created. The default value is false.

Remarks

When specifying the subfolder path, use the backslash () as the separator between folder names. For example, “parent1\parent2\subfolder”.

See Also