共用方式為


EmailMailbox.TryMoveFolderAsync 方法

定義

多載

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

另請參閱

適用於