共用方式為


PhoneCallBlocking.SetCallBlockingListAsync(IIterable<String>) 方法

定義

設定應該封鎖的數位清單。

public:
 static IAsyncOperation<bool> ^ SetCallBlockingListAsync(IIterable<Platform::String ^> ^ phoneNumberList);
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<bool> SetCallBlockingListAsync(IIterable<winrt::hstring> const& phoneNumberList);
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<bool> SetCallBlockingListAsync(IEnumerable<string> phoneNumberList);
function setCallBlockingListAsync(phoneNumberList)
Public Shared Function SetCallBlockingListAsync (phoneNumberList As IEnumerable(Of String)) As IAsyncOperation(Of Boolean)

參數

phoneNumberList

IIterable<String>

IEnumerable<String>

IIterable<Platform::String>

IIterable<winrt::hstring>

應封鎖的數位清單。

傳回

如果 作業成功,則為 True,否則為 false

屬性

Windows 需求

應用程式功能
phoneCallHistory phoneCallHistorySystem

適用於