共用方式為


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

適用於