FolderInfoAddSubFolder Method (String, Boolean) |
Adds the new sub-folder.
Namespace:
Aspose.Email.Storage.Pst
Assembly:
Aspose.Email (in Aspose.Email.dll) Version: 20.2
Syntax public FolderInfo AddSubFolder(
string name,
bool createHierarchy
)
Public Function AddSubFolder (
name As String,
createHierarchy As Boolean
) As FolderInfo
public:
FolderInfo^ AddSubFolder(
String^ name,
bool createHierarchy
)
member AddSubFolder :
name : string *
createHierarchy : bool -> FolderInfo
Parameters
- name
- Type: SystemString
The name of sub-folder. - createHierarchy
- Type: SystemBoolean
if set to true, it is possible to create a folder hierarchy using string notation.
Backslash ('\') is used as path separator.
Return Value
Type:
FolderInfoThe new sub-folder.
Exceptions See Also