IEWSClient.CreateFolder
Contents
[
Hide
]CreateFolder(string, string)
Creates the new folder with the specified name in the specified parent folder.
public ExchangeFolderInfo CreateFolder(string parentFolderUri, string name)
Parameter | Type | Description |
---|---|---|
parentFolderUri | String | An uri of parent folder. |
name | String | A name of folder to be created. |
Exceptions
exception | condition |
---|---|
AsposeArgumentException | parentFolderUri or name is null or empty . |
See Also
- class ExchangeFolderInfo
- interface IEWSClient
- namespace Aspose.Email.Clients.Exchange.WebService
- assembly Aspose.Email
CreateFolder(string, string, ExchangeFolderPermissionCollection)
Creates the new folder
public ExchangeFolderInfo CreateFolder(string parentFolderUri, string name,
ExchangeFolderPermissionCollection permissions)
Parameter | Type | Description |
---|---|---|
parentFolderUri | String | The URI of parent folder |
name | String | The name of new folder |
permissions | ExchangeFolderPermissionCollection | A permission on new folder |
Return Value
Returns folder information
See Also
- class ExchangeFolderInfo
- class ExchangeFolderPermissionCollection
- interface IEWSClient
- namespace Aspose.Email.Clients.Exchange.WebService
- assembly Aspose.Email
CreateFolder(string, string, ExchangeFolderPermissionCollection, string)
Creates the new folder
public ExchangeFolderInfo CreateFolder(string parentFolderUri, string name,
ExchangeFolderPermissionCollection permissions, string folderClass)
Parameter | Type | Description |
---|---|---|
parentFolderUri | String | The URI of parent folder |
name | String | The name of new folder |
permissions | ExchangeFolderPermissionCollection | A permission on new folder |
folderClass | String | The class of new folder |
Return Value
Returns folder information
See Also
- class ExchangeFolderInfo
- class ExchangeFolderPermissionCollection
- interface IEWSClient
- namespace Aspose.Email.Clients.Exchange.WebService
- assembly Aspose.Email
CreateFolder(string, ExchangeFolderType)
Creates new folder in the root folder.
public ExchangeFolderInfo CreateFolder(string name, ExchangeFolderType folderType)
Parameter | Type | Description |
---|---|---|
name | String | The name of new folder |
folderType | ExchangeFolderType | Type of folder |
Return Value
Returns folder information
See Also
- class ExchangeFolderInfo
- enum ExchangeFolderType
- interface IEWSClient
- namespace Aspose.Email.Clients.Exchange.WebService
- assembly Aspose.Email
CreateFolder(string, string, ExchangeFolderType)
Creates the new folder
public ExchangeFolderInfo CreateFolder(string parentFolderUri, string name,
ExchangeFolderType folderType)
Parameter | Type | Description |
---|---|---|
parentFolderUri | String | The URI of parent folder |
name | String | The name of new folder |
folderType | ExchangeFolderType | Type of folder |
Return Value
Returns folder information
See Also
- class ExchangeFolderInfo
- enum ExchangeFolderType
- interface IEWSClient
- namespace Aspose.Email.Clients.Exchange.WebService
- assembly Aspose.Email
CreateFolder(string)
Creates new folder in the root folder.
public ExchangeFolderInfo CreateFolder(string name)
Parameter | Type | Description |
---|---|---|
name | String | The name of new folder |
Return Value
Returns folder information
See Also
- class ExchangeFolderInfo
- interface IEWSClient
- namespace Aspose.Email.Clients.Exchange.WebService
- assembly Aspose.Email