BluetoothLEAdvertisementReceivedEventArgs.IsDirected 属性

定义

指示收到的播发是否定向。

public:
 property bool IsDirected { bool get(); };
bool IsDirected();
public bool IsDirected { get; }
var boolean = bluetoothLEAdvertisementReceivedEventArgs.isDirected;
Public ReadOnly Property IsDirected As Boolean

属性值

Boolean

bool

指示是否定向播发。 如果 为 ,则返回 True;否则返回 False。

Windows 要求

设备系列
Windows 10, version 2004 (在 10.0.19041.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v10.0 中引入)

注解

此属性旨在用于扩展播发,这些播发不一定是定向的或非定向的。

适用于