DeviceInformation.Name 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 name of the device. This name is in the best available language for the app.
public:
property Platform::String ^ Name { Platform::String ^ get(); };
winrt::hstring Name();
public string Name { get; }
var string = deviceInformation.name;
Public ReadOnly Property Name As String
Property Value
The name of the device. This name is in the best available language for the app.
Remarks
The Name property should only be used for display purposes only and not for finding a device because the Name can change due to localization or a user assigning a name.
Applies to
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin