Partager via


AllJoynAboutDataView.DeviceName Propriété

Définition

Important

Les types dans l’espace de noms Windows.Devices.AllJoyn sont déconseillés et peuvent ne pas être disponibles dans les versions ultérieures de Windows. AllJoyn, sponsorisé par AllSeen Alliance, était un protocole de découverte et de communication open source pour les scénarios IoT (Internet des objets), comme l’activation et l’arrêt des lumières et la lecture des températures. Pour des alternatives, telles que IoTivity Lite et IoTivity, reportez-vous au site web iotivity.org .

Nom de l'unité.

public:
 property Platform::String ^ DeviceName { Platform::String ^ get(); };
winrt::hstring DeviceName();
/// [get: Windows.Foundation.Metadata.Deprecated("AllJoynAboutDataView has been deprecated.  For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 786432, "Windows.Foundation.UniversalApiContract")]
winrt::hstring DeviceName();
public string DeviceName { get; }
public string DeviceName { [Windows.Foundation.Metadata.Deprecated("AllJoynAboutDataView has been deprecated.  For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 786432, "Windows.Foundation.UniversalApiContract")] get; }
var string = allJoynAboutDataView.deviceName;
Public ReadOnly Property DeviceName As String

Valeur de propriété

String

Platform::String

winrt::hstring

Le nom de l'appareil.

Attributs

Configuration requise pour Windows

Fonctionnalités de l’application
allJoyn

S’applique à