共用方式為


PhoneCallBlocking.BlockUnknownNumbers 屬性

定義

取得或設定 PhoneCallBlocking 實例是否應該封鎖未知號碼。

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

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

屬性值

Boolean

bool

如果PhoneCallBlocking 實例應該封鎖未知號碼,則為 True,否則為 false

Windows 需求

應用程式功能
phoneCallHistory phoneCallHistorySystem

適用於