ExportImportDevice.PropertyContainer.DesiredProperties 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 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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET