Поделиться через


PeerFinder.AllowBluetooth Свойство

Определение

Указывает, может ли класс PeerFinder подключать объект StreamSocket с помощью 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

Значение свойства

Boolean

bool

Значение true, если класс PeerFinder может подключить объект StreamSocket с помощью Bluetooth; в противном случае — false. Значение по умолчанию — true.

Требования к Windows

Возможности приложения
ID_CAP_NETWORKING [Windows Phone] proximity ID_CAP_PROXIMITY [Windows Phone]

Применяется к

См. также раздел