AllJoynAboutDataView.DeviceName Proprietà

Definizione

Importante

I tipi nello spazio dei nomi Windows.Devices.AllJoyn sono deprecati e potrebbero non essere disponibili nelle versioni future di Windows. AllJoyn, sponsorizzato da AllSeen Alliance, è stato un protocollo di individuazione e comunicazione open source per scenari IoT (Internet of Things), ad esempio l'accensione e la disattivazione delle luci e la lettura delle temperature. Per alternative, ad esempio IoTivity Lite e IoTivity, fare riferimento al sito Web di iotivity.org .

Nome del dispositivo.

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

Valore della proprietà

String

Platform::String

winrt::hstring

Nome del dispositivo.

Attributi

Requisiti Windows

Funzionalità dell'app
allJoyn

Si applica a