PeerFinder.AllowBluetooth 屬性

定義

指定 PeerFinder 類別是否可以使用藍牙連接 StreamSocket 物件。

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

如果 PeerFinder 類別可以使用藍牙連接 StreamSocket 物件,則為 True;否則為 false。 預設值是 true。

Windows 需求

應用程式功能
ID_CAP_NETWORKING [Windows Phone] proximity ID_CAP_PROXIMITY [Windows Phone]

適用於

另請參閱