ClientTwinProperties Class
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.
Represents a collection of properties for the twin.
[Newtonsoft.Json.JsonConverter(typeof(Microsoft.Azure.Devices.ClientTwinPropertiesJsonConverter))]
public class ClientTwinProperties : System.Collections.IEnumerable
[<Newtonsoft.Json.JsonConverter(typeof(Microsoft.Azure.Devices.ClientTwinPropertiesJsonConverter))>]
type ClientTwinProperties = class
interface IEnumerable
Public Class ClientTwinProperties
Implements IEnumerable
- Inheritance
-
ClientTwinProperties
- Attributes
-
Newtonsoft.Json.JsonConverterAttribute
- Implements
Constructors
ClientTwinProperties() |
Creates an instance of this class. |
ClientTwinProperties(JObject, JObject) |
Creates an instance of this class using the given JSON fragments for the body and metadata. |
ClientTwinProperties(String, String) |
Creates an instance of this class using the given JSON fragments for the body and metadata. |
ClientTwinProperties(String) |
Creates an instance of this class using a JSON fragment as the body. |
Properties
Count |
Gets the count of properties in the collection. |
Item[String] |
Property indexer. |
Version |
Gets the version of the collection. |
Methods
ClearMetadata() |
Clears all metadata out of the twin collection as well as the base metadata object. |
Contains(String) |
Determines whether the specified property is present. |
GetEnumerator() | Returns an enumerator that iterates through a collection. |
GetLastUpdatedOnUtc() |
Gets the last time this property was updated in UTC. |
GetLastUpdatedVersion() |
Gets the last updated version for this property. |
GetMetadata() |
Gets the metadata for this collection. |
ToString() | Returns a string that represents the current object. |
Applies to
Azure SDK for .NET