次の方法で共有


ProvisioningTwinProperties クラス

定義

デバイス ツインのプロパティのコレクションを表します。

[Newtonsoft.Json.JsonConverter(typeof(Microsoft.Azure.Devices.Provisioning.Service.ProvisioningTwinPropertiesJsonConverter))]
public class ProvisioningTwinProperties : System.Collections.IEnumerable
[<Newtonsoft.Json.JsonConverter(typeof(Microsoft.Azure.Devices.Provisioning.Service.ProvisioningTwinPropertiesJsonConverter))>]
type ProvisioningTwinProperties = class
    interface IEnumerable
Public Class ProvisioningTwinProperties
Implements IEnumerable
継承
ProvisioningTwinProperties
属性
Newtonsoft.Json.JsonConverterAttribute
実装

コンストラクター

ProvisioningTwinProperties()

このクラスのインスタンスを作成します。 _metadataは null であり、GetLastUpdated を呼び出すと NullReferenceException が発生する可能性があるため、このコンストラクターを使用しないでください。

ProvisioningTwinProperties(JObject, JObject)

本文とメタデータに指定された JSON フラグメントを使用して、このクラスのインスタンスを作成します。

ProvisioningTwinProperties(String)

JSON フラグメントを本文として使用して、このクラスのインスタンスを作成します。

ProvisioningTwinProperties(String, String)

本文とメタデータに指定された JSON フラグメントを使用して、このクラスのインスタンスを作成します。

プロパティ

Count

コレクション内のプロパティの数を取得します。

Item[String]

プロパティ インデクサー。

Version

ツイン コレクションのバージョンを取得します。

メソッド

ClearMetadata()

ツイン コレクションと基本メタデータ オブジェクトからすべてのメタデータをクリアします。

Contains(String)

指定したプロパティが存在するかどうかを判断します。

GetEnumerator()

デバイス ツインのプロパティのコレクションを表します。

GetLastUpdatedOnUtc()

このプロパティが UTC で最後に更新された時刻を取得します。

GetLastUpdatedVersion()

このプロパティの LastUpdatedVersion を取得します。

GetMetadata()

このプロパティのメタデータを取得します。

ToString()

デバイス ツインのプロパティのコレクションを表します。

適用対象