EmailMailbox.TryMoveFolderAsync 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
TryMoveFolderAsync(String, String) |
异步尝试移动指定的电子邮件文件夹。 |
TryMoveFolderAsync(String, String, String) |
异步尝试移动指定的电子邮件文件夹,并在过程中对其进行重命名。 |
TryMoveFolderAsync(String, String)
异步尝试移动指定的电子邮件文件夹。
public:
virtual IAsyncOperation<bool> ^ TryMoveFolderAsync(Platform::String ^ folderId, Platform::String ^ newParentFolderId) = TryMoveFolderAsync;
/// [Windows.Foundation.Metadata.Overload("TryMoveFolderAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<bool> TryMoveFolderAsync(winrt::hstring const& folderId, winrt::hstring const& newParentFolderId);
[Windows.Foundation.Metadata.Overload("TryMoveFolderAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<bool> TryMoveFolderAsync(string folderId, string newParentFolderId);
function tryMoveFolderAsync(folderId, newParentFolderId)
Public Function TryMoveFolderAsync (folderId As String, newParentFolderId As String) As IAsyncOperation(Of Boolean)
参数
- folderId
-
String
Platform::String
winrt::hstring
要移动的文件夹。
- newParentFolderId
-
String
Platform::String
winrt::hstring
folderId 参数中指定的文件夹的新父级。
返回
一个布尔值,指示移动是否成功。
- 属性
Windows 要求
应用功能 |
email
emailSystem
|
另请参阅
适用于
TryMoveFolderAsync(String, String, String)
异步尝试移动指定的电子邮件文件夹,并在过程中对其进行重命名。
public:
virtual IAsyncOperation<bool> ^ TryMoveFolderAsync(Platform::String ^ folderId, Platform::String ^ newParentFolderId, Platform::String ^ newFolderName) = TryMoveFolderAsync;
/// [Windows.Foundation.Metadata.Overload("TryMoveFolderWithNewNameAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<bool> TryMoveFolderAsync(winrt::hstring const& folderId, winrt::hstring const& newParentFolderId, winrt::hstring const& newFolderName);
[Windows.Foundation.Metadata.Overload("TryMoveFolderWithNewNameAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<bool> TryMoveFolderAsync(string folderId, string newParentFolderId, string newFolderName);
function tryMoveFolderAsync(folderId, newParentFolderId, newFolderName)
Public Function TryMoveFolderAsync (folderId As String, newParentFolderId As String, newFolderName As String) As IAsyncOperation(Of Boolean)
参数
- folderId
-
String
Platform::String
winrt::hstring
要移动的文件夹。
- newParentFolderId
-
String
Platform::String
winrt::hstring
folderId 参数中指定的文件夹的新父级。
- newFolderName
-
String
Platform::String
winrt::hstring
新位置中的文件夹的名称。
返回
一个布尔值,指示移动是否成功。
- 属性
Windows 要求
应用功能 |
email
emailSystem
|