PhoneCallBlocking.BlockPrivateNumbers Property

Definition

Gets or sets whether the PhoneCallBlocking instance should block private numbers.

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

Property Value

Boolean

bool

True if the PhoneCallBlocking instance should block private numbers, false otherwise.

Windows requirements

App capabilities
phoneCallHistory phoneCallHistorySystem

Applies to