BluetoothDevice.Name 属性

定义

获取设备的名称。

public:
 property Platform::String ^ Name { Platform::String ^ get(); };
winrt::hstring Name();
public string Name { get; }
var string = bluetoothDevice.name;
Public ReadOnly Property Name As String

属性值

String

Platform::String

winrt::hstring

设备的名称。

Windows 要求

应用功能
bluetooth

适用于