ExportImportDevice.PropertyContainer.DesiredProperties Property

Definition

The collection of desired property key-value pairs.

[Newtonsoft.Json.JsonProperty(NullValueHandling=Newtonsoft.Json.NullValueHandling.Ignore, PropertyName="desired")]
public Microsoft.Azure.Devices.Shared.TwinCollection DesiredProperties { get; set; }
[Newtonsoft.Json.JsonProperty(NullValueHandling=Newtonsoft.Json.NullValueHandling.Ignore, PropertyName="desired")]
public Microsoft.Azure.Devices.ClientTwinProperties DesiredProperties { get; set; }
[<Newtonsoft.Json.JsonProperty(NullValueHandling=Newtonsoft.Json.NullValueHandling.Ignore, PropertyName="desired")>]
member this.DesiredProperties : Microsoft.Azure.Devices.Shared.TwinCollection with get, set
[<Newtonsoft.Json.JsonProperty(NullValueHandling=Newtonsoft.Json.NullValueHandling.Ignore, PropertyName="desired")>]
member this.DesiredProperties : Microsoft.Azure.Devices.ClientTwinProperties with get, set
Public Property DesiredProperties As TwinCollection
Public Property DesiredProperties As ClientTwinProperties

Property Value

Attributes
Newtonsoft.Json.JsonPropertyAttribute

Remarks

The keys are UTF-8 encoded, case-sensitive and up-to 1KB in length. Allowed characters exclude UNICODE control characters (segments C0 and C1), '.', '$' and space. The desired porperty values are JSON objects, up-to 4KB in length.

Applies to