PeerFinder.AllowBluetooth Propiedad

Definición

Especifica si la clase PeerFinder puede conectar un objeto StreamSocket mediante 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

Valor de propiedad

Boolean

bool

True si la clase PeerFinder puede conectar un objeto StreamSocket mediante Bluetooth; de lo contrario, false. El valor predeterminado es true.

Requisitos de Windows

Características de aplicaciones
ID_CAP_NETWORKING [Windows Phone] proximity ID_CAP_PROXIMITY [Windows Phone]

Se aplica a

Consulte también