PhoneCallBlocking.BlockPrivateNumbers 属性

定义

获取或设置 PhoneCallBlocking 实例是否应阻止专用号码。

public:
 static property bool BlockPrivateNumbers { bool get(); void set(bool value); };
static bool BlockPrivateNumbers();

static void BlockPrivateNumbers(bool value);
public static bool BlockPrivateNumbers { get; set; }
var boolean = PhoneCallBlocking.blockPrivateNumbers;
PhoneCallBlocking.blockPrivateNumbers = boolean;
Public Shared Property BlockPrivateNumbers As Boolean

属性值

Boolean

bool

如果 PhoneCallBlocking 实例应阻止专用号码,则为 True;否则为 false

Windows 要求

应用功能
phoneCallHistory phoneCallHistorySystem

适用于