Compartir a través de


AllJoynAboutData.IsEnabled Propiedad

Definición

Importante

Los tipos del espacio de nombres Windows.Devices.AllJoyn están en desuso y es posible que no estén disponibles en versiones futuras de Windows. AllJoyn, patrocinado por AllSeen Alliance, fue un protocolo de comunicación y detección de código abierto para escenarios de Internet de las cosas (IoT), como encender y apagar las luces, y leer temperaturas. Para conocer alternativas, como IoTivity Lite e IoTivity, consulte el sitio web de iotivity.org .

Indica si el servicio debe anunciar los valores de AllJoynAboutData proporcionados.

public:
 property bool IsEnabled { bool get(); void set(bool value); };
bool IsEnabled();

void IsEnabled(bool value);
/// [get: Windows.Foundation.Metadata.Deprecated("AllJoynAboutData has been deprecated.  For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 786432, "Windows.Foundation.UniversalApiContract")]
/// [set: Windows.Foundation.Metadata.Deprecated("AllJoynAboutData has been deprecated.  For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 786432, "Windows.Foundation.UniversalApiContract")]
bool IsEnabled();

void IsEnabled(bool value);
public bool IsEnabled { get; set; }
public bool IsEnabled { [Windows.Foundation.Metadata.Deprecated("AllJoynAboutData has been deprecated.  For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 786432, "Windows.Foundation.UniversalApiContract")] get; [Windows.Foundation.Metadata.Deprecated("AllJoynAboutData has been deprecated.  For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 786432, "Windows.Foundation.UniversalApiContract")] set; }
var boolean = allJoynAboutData.isEnabled;
allJoynAboutData.isEnabled = boolean;
Public Property IsEnabled As Boolean

Valor de propiedad

Boolean

bool

True si está habilitado; en caso contrario, false.

Atributos

Requisitos de Windows

Características de aplicaciones
allJoyn

Se aplica a