Share via


PeerFinder.AllowBluetooth Propriété

Définition

Spécifie si la classe PeerFinder peut connecter un objet StreamSocket à l’aide de Bluetooth.

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

static void AllowBluetooth(bool value);
public static bool AllowBluetooth { get; set; }
var boolean = PeerFinder.allowBluetooth;
PeerFinder.allowBluetooth = boolean;
Public Shared Property AllowBluetooth As Boolean

Valeur de propriété

Boolean

bool

True si la classe PeerFinder peut connecter un objet StreamSocket à l’aide de Bluetooth ; sinon, false. La valeur par défaut est true.

Configuration requise pour Windows

Fonctionnalités de l’application
ID_CAP_NETWORKING [Windows Phone] proximity ID_CAP_PROXIMITY [Windows Phone]

S’applique à

Voir aussi