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

适用于