Share via


PhoneCallBlocking.BlockUnknownNumbers Property

Definition

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

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

Property Value

Boolean

bool

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

Windows requirements

Requirements Description
App capabilities
phoneCallHistory phoneCallHistorySystem

Applies to