Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

BluetoothLEAdvertisement.LocalName Property

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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

Requirements Description
App capabilities
bluetooth

Applies to


Feedback

Was this page helpful?