BluetoothLEAdvertisement.LocalName Property

Definition

The local name contained within the advertisement.

public:
 property Platform::String ^ LocalName { Platform::String ^ get(); void set(Platform::String ^ value); };
winrt::hstring LocalName();

void LocalName(winrt::hstring value);
public string LocalName { get; set; }
var string = bluetoothLEAdvertisement.localName;
bluetoothLEAdvertisement.localName = string;
Public Property LocalName As String

Property Value

String

Platform::String

winrt::hstring

The local name contained within the advertisement. This property can be either the shortened or complete local name defined by the Bluetooth LE specifications.

Windows requirements

App capabilities
bluetooth

Applies to