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) |
Creates an instance of this class using a JSON fragment as the body. |
ClientTwinProperties(String, String) |
Creates an instance of this class using the given JSON fragments for the body and metadata. |
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
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應